diff options
Diffstat (limited to 'test/classes/Config/PageSettingsTest.php')
-rw-r--r-- | test/classes/Config/PageSettingsTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/classes/Config/PageSettingsTest.php b/test/classes/Config/PageSettingsTest.php index 57adc4db68..97eef18ab2 100644 --- a/test/classes/Config/PageSettingsTest.php +++ b/test/classes/Config/PageSettingsTest.php @@ -61,9 +61,9 @@ class PageSettingsTest extends AbstractTestCase $this->assertStringContainsString('<input type="hidden" name="submit_save" value="Browse">', $html); $this->assertStringContainsString( - "registerFieldValidator('MaxRows', 'validatePositiveNumber', true);\n" - . "registerFieldValidator('RepeatCells', 'validateNonNegativeNumber', true);\n" - . "registerFieldValidator('LimitChars', 'validatePositiveNumber', true);\n", + "window.Config.registerFieldValidator('MaxRows', 'validatePositiveNumber', true);\n" + . "window.Config.registerFieldValidator('RepeatCells', 'validateNonNegativeNumber', true);\n" + . "window.Config.registerFieldValidator('LimitChars', 'validatePositiveNumber', true);\n", $html ); } |