Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
946691b6
Commit
946691b6
authored
Jan 17, 2016
by
Carsten Rose
Browse files
StoreTest.php: added test for store zero
parent
ee8e46e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/phpunit/StoreTest.php
View file @
946691b6
...
...
@@ -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"
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment