diff options
author | Ozh <ozh@ozh.org> | 2022-05-01 22:08:30 +0300 |
---|---|---|
committer | Ozh <ozh@ozh.org> | 2022-05-01 22:08:30 +0300 |
commit | 90f96e6a68a647e6a7376c240b9d5f2b6250dd6a (patch) | |
tree | 68c05e6e710a14271f14175ab361a6a578698a31 | |
parent | 38396fbba45dfc417f9e8ebd942784e245be3ac2 (diff) |
Meh, forgot to commit this onephp81warnings
-rw-r--r-- | tests/tests/auth/logout.php | 2 |
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, ''); } /** |