Skip to content

fix(Test): reset is_windows() mock state in CIUnitTestCase::tearDown() #16357

fix(Test): reset is_windows() mock state in CIUnitTestCase::tearDown()

fix(Test): reset is_windows() mock state in CIUnitTestCase::tearDown() #16357

Triggered via pull request September 12, 2026 19:58
Status Success
Total duration 15m 44s
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
44s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L989
Took 1.0511s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Models/SaveModelTest.php#L270
Took 0.6000s from 0.5000s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/MigrationIntegrationTest.php#L51
Took 0.6240s from 0.5000s limit to run CodeIgniter\\Commands\\MigrationIntegrationTest::testMigrationWithRollbackHasSameNameFormat
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.1559s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 1.2132s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L501
Took 1.4738s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/DeleteTest.php#L168
Took 1.5479s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DeleteTest::testDeleteBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.5685s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L39
Took 1.5717s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.7359s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1583s 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.3232s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 2.4782s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.0216s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0874s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L87
Took 0.5625s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L49
Took 0.5737s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.7900s 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.2669s 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.4565s 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
139 KB
sha256:a7ebb95684618e18bfa2b56b883422c208bc3fcab045e5eaed192296bbf2e621
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.7 MB
sha256:5fcf80a0c2a4e4baf8149c865baa9071784ec9cb8cf4d72e4aa17e54941071d5
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.7 MB
sha256:6fcfb779206491c92f2d219671529521971773d34a771981f7adad8f33160794
database-live-tests-php-8.2-db-OCI88.0 Expired
13.9 MB
sha256:eeff864426417d46afdd20d708878ca4c3d63e561a79e7b491150fdfaf40c093
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.4 MB
sha256:e266ce329dab690523b1d577a6aca1c5d6913755d37b529d517cbc574046c589
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.5 MB
sha256:cef4328b64cb81b708f3959176f9dfb0a209af12b2aeaa1b58a4b7927b36682b
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.4 MB
sha256:9cb01a48a2984ea05b0c836049caa9f49e725558582e09ca97ad2152c7dc1c2f
sanity-tests-php-8.2-db-none Expired
33.4 MB
sha256:d4adda0833c6cc043724cc33ee4512173fcc1eda03391ee946be60c5388e4365
separate-process-tests-php-8.2-db-none Expired
3.78 MB
sha256:f3769824ab992b80b71cbc4121f3f9ef458054988c5cdc2a056e753e730f1bd1