refactor: use assertNotInstanceOf over assertNull on nullable object return and flip actual/expect on constant check #12946
Annotations
10 warnings
Run tests:
tests/system/Database/Live/ForgeTest.php#L494
Took 2.7651s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
|
Run tests:
tests/system/Database/Live/ForgeTest.php#L1676
Took 1.3890s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
|
Run tests:
tests/system/Database/Live/ConnectTest.php#L97
Took 1.0971s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
|
Run tests:
tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0006s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
|
Run tests:
tests/system/Models/InsertModelTest.php#L239
Took 0.8644s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
|
Run tests:
tests/system/Database/Live/InsertTest.php#L53
Took 0.8433s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
|
Run tests:
tests/system/Models/WhenWhenNotModelTest.php#L25
Took 0.8245s from 0.5000s limit to run CodeIgniter\\Models\\WhenWhenNotModelTest::testWhenWithTrueCondition
|
Run tests:
tests/system/Models/InsertModelTest.php#L52
Took 0.8212s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
|
Run tests:
tests/system/Database/Live/ForgeTest.php#L1583
Took 0.7919s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
|
Run tests:
tests/system/Database/Live/UpsertTest.php#L714
Took 0.7179s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpsertTest::testUpsertBatchWithQuery
|
Loading