Skip to content

test: fix tests' assertions #2310

test: fix tests' assertions

test: fix tests' assertions #2310

Triggered via pull request July 11, 2025 14:45
Status Success
Total duration 6m 59s
Artifacts

phpunit.yml

on: pull_request
Matrix: phpunit / main
phpunit  /  Coveralls Finished
4s
phpunit / Coveralls Finished
Fit to window
Zoom out
Zoom in

Annotations

48 warnings
phpunit / PHP 8.4 - SQLite3: /tests/Authentication/HasHmacTokensTest.php#L53
Took 0.5462s from 0.5000s limit to run Tests\\Authentication\\HasHmacTokensTest::testHmacTokens
phpunit / PHP 8.4 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.4055s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5064s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6938s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - Postgre: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6364s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLite3: /tests/Controllers/RegisterTest.php#L54
Took 0.5137s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.1 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6418s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6439s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - MySQLi: /tests/Controllers/RegisterTest.php#L184
Took 1.0932s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L208
Took 0.5061s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L54
Took 0.5071s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L232
Took 0.5120s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - SQLite3: /tests/Controllers/RegisterTest.php#L184
Took 0.5372s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.2 - SQLite3: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6577s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.3 - MySQLi: /tests/Unit/PasswordsTest.php#L37
Took 0.5032s from 0.5000s limit to run Tests\\Unit\\PasswordsTest::testHash
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L54
Took 0.5053s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5111s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.3 - MySQLi: /tests/Unit/DictionaryValidatorTest.php#L45
Took 0.5153s from 0.5000s limit to run Tests\\Unit\\DictionaryValidatorTest::testCheckTrueOnNotFound
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5213s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L184
Took 0.5232s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5314s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5653s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.3 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 1.2335s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.4 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5431s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.4 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 2.3694s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L184
Took 0.5065s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L258
Took 0.5157s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - SQLSRV: /tests/Controllers/RegisterTest.php#L208
Took 0.5369s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.1 - SQLSRV: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6950s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - SQLSRV: /tests/Authentication/Filters/ChainFilterTest.php#L32
Took 0.7006s from 0.5000s limit to run Tests\\Authentication\\Filters\\ChainFilterTest::testFilterNotAuthorized
phpunit / PHP 8.1 - MySQLi: /tests/Authentication/Filters/HmacFilterTest.php#L114
Took 0.5246s from 0.5000s limit to run Tests\\Authentication\\Filters\\HmacFilterTest::testBlocksInactiveUsers
phpunit / PHP 8.1 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6807s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L232
Took 0.5007s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L258
Took 0.5041s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Unit/PasswordsTest.php#L37
Took 0.5050s from 0.5000s limit to run Tests\\Unit\\PasswordsTest::testHash
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L92
Took 0.5092s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
phpunit / PHP 8.2 - MySQLi: /tests/Controllers/RegisterTest.php#L208
Took 0.5160s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
phpunit / PHP 8.2 - MySQLi: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.6635s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Filters/GroupFilterTest.php#L53
Took 0.6534s from 0.5000s limit to run Tests\\Authentication\\Filters\\GroupFilterTest::testFilterSuccess
phpunit / PHP 8.1 - OCI8: /tests/Commands/UserTest.php#L576
Took 0.6841s from 0.5000s limit to run Tests\\Commands\\UserTest::testAddgroup
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/SessionAuthenticatorTest.php#L230
Took 0.6880s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\SessionAuthenticatorTest::testForgetCurrentUser
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/SessionAuthenticatorTest.php#L313
Took 0.7021s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\SessionAuthenticatorTest::testAttemptCannotFindUser
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php#L223
Took 0.7594s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\AccessTokenAuthenticatorTest::testAttemptSuccessLog
phpunit / PHP 8.1 - OCI8: /tests/Unit/UserTest.php#L293
Took 0.7958s from 0.5000s limit to run Tests\\Unit\\UserTest::testLastLogin
phpunit / PHP 8.1 - OCI8: /tests/Unit/UserIdentityModelTest.php#L86
Took 0.8395s from 0.5000s limit to run Tests\\Unit\\UserIdentityModelTest::testForceMultiplePasswordReset
phpunit / PHP 8.1 - OCI8: /tests/Authentication/Authenticators/JWTAuthenticatorTest.php#L194
Took 0.9847s from 0.5000s limit to run Tests\\Authentication\\Authenticators\\JWTAuthenticatorTest::testAttemptBadSignatureToken
phpunit / PHP 8.1 - OCI8: /tests/Controllers/RegisterTest.php#L258
Took 1.2313s from 0.5000s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
phpunit / PHP 8.1 - OCI8: /tests/Commands/UserTest.php#L405
Took 2.2167s from 0.5000s limit to run Tests\\Commands\\UserTest::testDeleteById