diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-08-17 10:58:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 10:58:59 +0300 |
commit | 0829d6e6ac487bf47e4197123d6683b271db8266 (patch) | |
tree | 77f8edd0c326b29c50d9fefd174cd45d5ebcbc92 /plugins/UsersManager/tests/Integration/UsersManagerTest.php | |
parent | 8c7fa7d8d414b5201c36661fb4828d14e4c33c53 (diff) |
Run AllTests on PHP8 (#16897)
* Run AllTests on PHP8
* use newer phpunit for tests on PHP8
* fix notices/errors
* handle trace of phpunit 9
* ensure to compare same types for range check
* adjust expected result for php8
* try handling hasDependencies does not exist in PHPUnit 9
* fix: ArgumentCountError: mysqli_stmt::bind_param() does not accept unknown named parameters
* Fix usercountry tests
* remove incorrect date check
* fix expected exception message
* fix referrers api test for php8
* add test hint
* try to fix session related tests
* debug test failure
* try to fix mail tests
* fix filterUser method
* exlucde phpunit from build size calculation
* fix scheduled reports test
* update release checklist test
* unset climode
* improves some tests
Diffstat (limited to 'plugins/UsersManager/tests/Integration/UsersManagerTest.php')
-rw-r--r-- | plugins/UsersManager/tests/Integration/UsersManagerTest.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/UsersManager/tests/Integration/UsersManagerTest.php b/plugins/UsersManager/tests/Integration/UsersManagerTest.php index 248c0315b7..0b345aeb37 100644 --- a/plugins/UsersManager/tests/Integration/UsersManagerTest.php +++ b/plugins/UsersManager/tests/Integration/UsersManagerTest.php @@ -240,7 +240,6 @@ class UsersManagerTest extends IntegrationTestCase // check that the date registered is correct $this->assertTrue($time <= strtotime($user['date_registered']) && strtotime($user['date_registered']) <= time(), "the date_registered " . strtotime($user['date_registered']) . " is different from the time() " . time()); - $this->assertTrue($user['date_registered'] <= time()); // check that password and token are properly set $this->assertEquals(60, strlen($user['password'])); |