Skip to content

fix: Model::find() returns incorrect data with casting #11683

fix: Model::find() returns incorrect data with casting

fix: Model::find() returns incorrect data with casting #11683

Triggered via pull request June 5, 2024 09:26
Status Success
Total duration 12m 14s
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
34s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
Others (8.2) / Sanity Tests: tests/system/Test/FabricatorTest.php#L531
Took 0.6377s from 0.5000s limit to run CodeIgniter\\Test\\FabricatorTest::testValidSetsOutValidValuesUsingCallback
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L453
Took 0.5721s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.2) / Sanity Tests: tests/system/API/ResponseTraitTest.php#L137
Took 0.5588s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
Others (8.2) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L472
Took 0.5458s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
DatabaseLive (8.2, Postgre, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 1.0095s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLite3, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.8818s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 0.8689s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.5262s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/CreateDatabaseTest.php#L72
Took 1.1055s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 0.6908s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
SeparateProcess (8.2) / tests: tests/system/Commands/GenerateKeyTest.php#L79
Took 0.6965s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L491
Took 2.7901s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/WhenWhenNotModelTest.php#L25
Took 1.8240s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1668
Took 1.4252s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L77
Took 1.2923s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ConnectTest.php#L97
Took 1.0900s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1233
Took 1.0229s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/InsertTest.php#L52
Took 0.8453s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L52
Took 0.8293s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Database/Live/ForgeTest.php#L1581
Took 0.8254s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: tests/system/Models/InsertModelTest.php#L239
Took 0.8000s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData

Artifacts

Produced during runtime
Name Size
cache-live-tests-php-8.2-db-none Expired
121 KB
database-live-tests-php-8.2-db-MySQLi Expired
10.7 MB
database-live-tests-php-8.2-db-OCI8 Expired
10.9 MB
database-live-tests-php-8.2-db-Postgre Expired
10.5 MB
database-live-tests-php-8.2-db-SQLSRV Expired
10.5 MB
database-live-tests-php-8.2-db-SQLite3 Expired
10.5 MB
sanity-tests-php-8.2-db-none Expired
26.5 MB
separate-process-tests-php-8.2-db-none Expired
2.87 MB