Skip to content

[Testing] Use assertEqualsWithDelta() when possible #9798

[Testing] Use assertEqualsWithDelta() when possible

[Testing] Use assertEqualsWithDelta() when possible #9798

Triggered via pull request November 6, 2023 14:04
Status Success
Total duration 21m 43s
Artifacts 8

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
0s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
52s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L410
Took 0.57s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L429
Took 0.55s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
SeparateProcess (8.1) / tests: tests/system/CommonFunctionsTest.php#L742
Took 0.60s from 0.50s limit to run CodeIgniter\\CommonFunctionsTest::testLangOnCLI
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L733
Took 0.57s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropForeignKey
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1321
Took 0.56s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testModifyColumnNullTrue
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1596
Took 0.55s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 0.54s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L387
Took 0.53s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testRenameTable
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 6.06s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1596
Took 3.41s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L97
Took 3.41s from 0.50s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateWithWithTwoNamespaces
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1185
Took 2.74s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/UpdateTest.php#L527
Took 2.43s from 0.50s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/InsertTest.php#L50
Took 2.30s from 0.50s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/InsertModelTest.php#L50
Took 2.26s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1509
Took 2.22s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/InsertModelTest.php#L237
Took 2.07s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/SaveModelTest.php#L250
Took 2.02s from 0.50s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate

Artifacts

Produced during runtime
Name Size
cache-live-tests-php-8.1-db-none Expired
2.02 MB
database-live-tests-php-8.1-db-MySQLi Expired
77.7 MB
database-live-tests-php-8.1-db-OCI8 Expired
79.4 MB
database-live-tests-php-8.1-db-Postgre Expired
76.5 MB
database-live-tests-php-8.1-db-SQLSRV Expired
76.5 MB
database-live-tests-php-8.1-db-SQLite3 Expired
76 MB
sanity-tests-php-8.1-db-none Expired
220 MB
separate-process-tests-php-8.1-db-none Expired
28.2 MB