Skip to content

test: refactor tests on BaseCommand and Commands #14693

test: refactor tests on BaseCommand and Commands

test: refactor tests on BaseCommand and Commands #14693

Triggered via pull request April 12, 2026 13:20
Status Success
Total duration 24m 1s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 17 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L761
Took 0.6335s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0577s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5512s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5659s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/MiscellaneousModelTest.php#L137
Took 1.3197s from 0.5000s limit to run CodeIgniter\\Models\\MiscellaneousModelTest::testReplaceObject
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.3270s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3348s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ReplaceModelTest.php#L25
Took 1.3608s from 0.5000s limit to run CodeIgniter\\Models\\ReplaceModelTest::testReplaceRespectsUseTimestamps
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.4287s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6287s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.8476s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1108s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 2.2167s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0161s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.5986s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1380s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.2868s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
134 KB
sha256:bd0723a9eddd822ec459b4287ffd32b8876ccb21d0be7fad9ef757423d4b7da3
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.4 MB
sha256:252c6323711ec58cad1f58d7b7ebc676c8288e0dd0c8b2bcc260a0aa4a340afb
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.4 MB
sha256:652aa9de588cdc157262e7431b12dbc5b6b107e791b6a742a8e87780379ac61c
database-live-tests-php-8.2-db-OCI88.0 Expired
13.5 MB
sha256:b3f8e0699e918d0c87288248b10fceb6fb9d9621df0e835cdd0cdea4cd96f031
database-live-tests-php-8.2-db-Postgre8.0 Expired
13 MB
sha256:5d205b290f64cf09431be6b79ef500ce27ee73679664870b96e5d02d9e49a85a
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.1 MB
sha256:2601d8a7ce98836dce7a530ef81493d486096e559d9f76a5418be7876a030a80
database-live-tests-php-8.2-db-SQLite38.0 Expired
13 MB
sha256:b0db2c51332c2d67b10feca5741961abbeb1973974ae4c14807d1ef1e955c06d
sanity-tests-php-8.2-db-none Expired
30.5 MB
sha256:94bc844e91989a4768a5501a6d4ea3f7be9c10969830ec613429a4df5e5535f4
separate-process-tests-php-8.2-db-none Expired
3.25 MB
sha256:9496a5e3442afa9df304a51d7b92467739cf30560b559ecb630ff37f97b12fd4