Commit f1a5dfe7 authored by enured's avatar enured
Browse files

edited sanitize default setting-> Changed function name in unit test (getSanitizeStore).

parent 95ef0dfc
Pipeline #6508 failed with stages
in 1 minute and 46 seconds
......@@ -478,7 +478,7 @@ class StoreTest extends TestCase {
STORE_VAR, STORE_SYSTEM, STORE_USER, STORE_LDAP] as $storeName) {
$this->store->setVar('color', 'green', $storeName);
if ($this->store->sanitizeStore($storeName)) {
if ($this->store->getSanitizeStore($storeName)) {
$this->assertEquals('!!digit!!', $this->store->getVar('color', $storeName, SANITIZE_ALLOW_DIGIT), "Retrieve 'color' from STORE $storeName");
}
}
......
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