feat: add Model::firstOrInsert() with failure handling
#14450
test-phpunit.yml
on: pull_request
Setup PHP Version for Code Coverage
2s
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls
/
coveralls
41s
Annotations
1 error and 23 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.5218s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
|
|
Others (8.2) / Sanity Tests:
/tests/system/API/ResponseTraitTest.php#L158
Took 0.7732s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
|
|
Others (8.2) / Sanity Tests:
/tests/system/CodeIgniterTest.php#L986
Took 1.0586s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
|
|
CacheLive (8.2) / Cache Live Tests:
/tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 0.7086s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
|
|
DatabaseLive (8.2, SQLite3, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 1.0686s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
SeparateProcess (8.2) / tests:
/tests/system/Commands/GenerateKeyTest.php#L82
Took 0.9120s from 0.5000s limit to run CodeIgniter\\Commands\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
|
|
DatabaseLive (8.2, Postgre, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 1.3973s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, MySQLi, 5.7) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 1.2932s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/DatabaseCommandsTest.php#L45
Took 0.5832s 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.1428s 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.3161s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
|
|
DatabaseLive (8.2, SQLSRV, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 4.5530s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, MySQLi, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 1.2946s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1583
Took 0.7998s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/ValidationModelRuleGroupTest.php#L50
Took 0.8441s from 0.5000s limit to run CodeIgniter\\Models\\ValidationModelRuleGroupTest::testValid
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/InsertTest.php#L48
Took 0.8590s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 0.8750s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Commands/CreateDatabaseTest.php#L68
Took 0.9808s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0067s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Models/InsertModelTest.php#L55
Took 1.0197s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ConnectTest.php#L98
Took 1.1028s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
|
|
DatabaseLive (8.2, OCI8, 8.0) / tests:
/tests/system/Database/Live/ForgeTest.php#L1680
Took 1.4159s 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 2.8505s 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
|
143 KB |
sha256:266b08f0316e5dd7174cd7dcf1dd4751d2c0e5662cef2f2fd412e833ae5890e3
|
|
|
database-live-tests-php-8.2-db-MySQLi5.7
Expired
|
15.1 MB |
sha256:95b8fe8dd417a0888d382e6010f76b9cae18463975e9d9d589dabe99d58c3bc9
|
|
|
database-live-tests-php-8.2-db-MySQLi8.0
Expired
|
15.1 MB |
sha256:9af83fd805fa85f0e64f9e3dfbfdcb674d6fcccf136d82a5eb2e7f98d94a86df
|
|
|
database-live-tests-php-8.2-db-OCI88.0
Expired
|
15.2 MB |
sha256:38ec13b4840f8c7c7a7f9ce1efeb4ba4c251e9dd429e9b1291cd8d0ee31c0f5c
|
|
|
database-live-tests-php-8.2-db-Postgre8.0
Expired
|
14.2 MB |
sha256:0503421a857980bd35925bd8730ccb35709a9b6813a9fc59b4ca476ebbed857d
|
|
|
database-live-tests-php-8.2-db-SQLSRV8.0
Expired
|
14.7 MB |
sha256:9867f387df39da17665c16c53cbef3b6c455002e611d8cec26fb2f73fa13a5b0
|
|
|
database-live-tests-php-8.2-db-SQLite38.0
Expired
|
14.7 MB |
sha256:538500a6e8558d9cf0024a2132b6fcb653c9c94cca8aefae87ec3d75d7cf022d
|
|
|
sanity-tests-php-8.2-db-none
Expired
|
33.8 MB |
sha256:fdcb07ba04f4e37d243a1fbd2b6bc07c0fb53d8969b6ef911e0596657edaf1ab
|
|
|
separate-process-tests-php-8.2-db-none
Expired
|
3.42 MB |
sha256:4fffff0c518230cf7257c724f606f9fa2fc01a05539c832af205bc09842eac0c
|
|