Skip to content

Commit 32f29e3

Browse files
committed
Unit test fix for removing jsPath from config
1 parent b7377ce commit 32f29e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/csrfprotector_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,15 +519,15 @@ public function testMultipleInitializeException()
519519
$_SERVER['REQUEST_METHOD'] = 'GET';
520520
csrfProtector::init();
521521

522-
$this->assertTrue(count(csrfProtector::$config) == 11);
522+
$this->assertTrue(count(csrfProtector::$config) == 10);
523523
try {
524524
csrfProtector::init();
525525
$this->fail("alreadyInitializedException not raised");
526526
} catch (alreadyInitializedException $ex) {
527527
// pass
528528
$this->assertTrue(true);
529529
} catch (Exception $ex) {
530-
$this->fail("exception other than alreadyInitializedException failed");
530+
$this->fail("exception other than alreadyInitializedException failed");
531531
}
532532
}
533533
}

0 commit comments

Comments
 (0)