We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1441834 commit 30500c3Copy full SHA for 30500c3
test/csrfprotector_test.php
@@ -254,7 +254,7 @@ public function testAuthorisePost_success()
254
$temp = $_SESSION[csrfprotector::$config['CSRFP_TOKEN']];
255
256
csrfprotector::authorizePost(); //will create new session and cookies
257
- $this->assertFalse($temp_elems == $_SESSION[csrfprotector::$config['CSRFP_TOKEN']][0]);
+ $this->assertFalse($temp == $_SESSION[csrfprotector::$config['CSRFP_TOKEN']][0]);
258
$this->assertTrue(csrfp_wrapper::checkHeader('Set-Cookie'));
259
$this->assertTrue(csrfp_wrapper::checkHeader('csrfp_token'));
260
$this->assertTrue(csrfp_wrapper::checkHeader($_SESSION[csrfprotector::$config['CSRFP_TOKEN']][0])); // Combine these 3 later
0 commit comments