Skip to content

fix: Entity::normalizeValue() must handle UnitEnum before toArray() #14786

fix: Entity::normalizeValue() must handle UnitEnum before toArray()

fix: Entity::normalizeValue() must handle UnitEnum before toArray() #14786

Triggered via pull request April 24, 2026 15:26
Status Success
Total duration 13m 7s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 25 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.0557s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 0.6935s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L374
Took 0.6956s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestTriggersEvent
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/DatabaseTestCaseTest.php#L71
Took 0.8404s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleMigrationNamespaces
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L418
Took 0.9056s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testHistoryRecordsBatches
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 0.9195s 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 0.9346s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.9778s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L105
Took 1.7699s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeed
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 2.0051s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L441
Took 2.4038s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testGetBatchVersions
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5203s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 0.8460s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1553s 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.3239s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/FindModelTest.php#L39
Took 1.3109s from 0.5000s limit to run CodeIgniter\\Models\\FindModelTest::testFindReturnsEntityWithCasts
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 1.3186s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.3463s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.3699s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.4636s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6179s 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.1130s 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.1570s 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.3405s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0325s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
129 KB
sha256:0cf475ac1d54cfb275457e3e2261077d58780d26918af3530de4ad831f5b92d9
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.3 MB
sha256:778d60342d2f7b541bd1a9cec3163ff15d2fc9c224b60ebf8aa03a9efab8c16b
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.3 MB
sha256:30afbb34c48099d799bbd7e846764afaa22c830587f4166a3adbdc4fcbc6e240
database-live-tests-php-8.2-db-OCI88.0 Expired
13.5 MB
sha256:e2c1b98963614260780602c2b72cf5d373df8a168e0b96d3cd5038b4560e6338
database-live-tests-php-8.2-db-Postgre8.0 Expired
13 MB
sha256:ca1a4ba3c1c52a1f060ac778cb217171fa024336dd720f95443d70112f433fbb
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.1 MB
sha256:e9a80758372a3eee85f638869bb10108c171b16a3606042fd445820fe10be991
database-live-tests-php-8.2-db-SQLite38.0 Expired
13 MB
sha256:d3c5b5dd1e0bd4efaf8cbe52dd44402f935344484dd48e5a15fa094565875626
sanity-tests-php-8.2-db-none Expired
30.6 MB
sha256:593431a14c69fa434a66a7deceabb410ac7870bcc728ac49e638c96bcc5cd4b8
separate-process-tests-php-8.2-db-none Expired
3.23 MB
sha256:62fa55cf59dd98ef329742e03f1d478b2e8beb5daf00e5347c444fb306ff64e7