aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/session/PHPSessionHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/session/PHPSessionHandlerTest.php')
-rw-r--r--tests/phpunit/includes/session/PHPSessionHandlerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/session/PHPSessionHandlerTest.php b/tests/phpunit/includes/session/PHPSessionHandlerTest.php
index 9c737b2cdbe1..7ea370ffd554 100644
--- a/tests/phpunit/includes/session/PHPSessionHandlerTest.php
+++ b/tests/phpunit/includes/session/PHPSessionHandlerTest.php
@@ -296,13 +296,13 @@ class PHPSessionHandlerTest extends MediaWikiIntegrationTestCase {
return false;
} ],
] );
- $this->assertNull( $manager->getSessionById( $id, true ), 'sanity check' );
+ $this->assertNull( $manager->getSessionById( $id, true ) );
session_write_close();
$this->mergeMwGlobalArrayValue( 'wgHooks', [
'SessionCheckInfo' => [],
] );
- $this->assertNotNull( $manager->getSessionById( $id, true ), 'sanity check' );
+ $this->assertNotNull( $manager->getSessionById( $id, true ) );
}
public static function provideHandlers() {