Commit 946691b6 authored by Carsten  Rose's avatar Carsten Rose
Browse files

StoreTest.php: added test for store zero

parent ee8e46e5
......@@ -151,4 +151,11 @@ return;
$this->assertEquals('female2', $this->store->getVar('gender', '', SANATIZE_ALLOW_ALNUMX), "Retrieve 'gender' from STORE_SIP");
}
public function testGetVarStoreZero() {
//default prio FSRD
$this->assertEquals(0, $this->store->getVar('fakename', '', STORE_ZERO), "Retrieve anything from STORE_ZERO");
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment