Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/auth/logout.php')
-rw-r--r--tests/tests/auth/logout.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/auth/logout.php b/tests/tests/auth/logout.php
index a7153d9e..674d0097 100644
--- a/tests/tests/auth/logout.php
+++ b/tests/tests/auth/logout.php
@@ -51,7 +51,7 @@ class Logout_Func_Tests extends PHPUnit\Framework\TestCase {
$_REQUEST['nonce'] = yourls_create_nonce('admin_logout', 'logout');
$invalid = yourls_is_valid_user();
$this->assertNotTrue( $invalid );
- $this->assertSame(self::$user, null);
+ $this->assertSame(self::$user, '');
}
/**