Skip to content

fix: when request body is 0, $body will be null #9804

fix: when request body is 0, $body will be null

fix: when request body is 0, $body will be null #9804

Triggered via pull request November 7, 2023 00:52
Status Success
Total duration 18m 4s
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
44s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L410
Took 0.55s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientLandscape
Others (8.1) / Sanity Tests: tests/system/Images/ImageMagickHandlerTest.php#L429
Took 0.53s from 0.50s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageReorientPortrait
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L247
Took 0.75s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateTableWithAttributes
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 0.72s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L733
Took 0.72s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropForeignKey
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L387
Took 0.70s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testRenameTable
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1596
Took 0.67s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Models/MiscellaneousModelTest.php#L77
Took 0.64s from 0.50s limit to run CodeIgniter\\Models\\MiscellaneousModelTest::testReplaceObject
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L60
Took 0.60s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L75
Took 0.59s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDb
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1321
Took 0.58s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testModifyColumnNullTrue
DatabaseLive (8.1, SQLSRV, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1711
Took 0.56s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L443
Took 4.83s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Commands/Database/MigrateStatusTest.php#L97
Took 2.85s from 0.50s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateWithWithTwoNamespaces
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1596
Took 2.75s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1185
Took 2.18s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/InsertTest.php#L50
Took 1.90s from 0.50s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/SaveModelTest.php#L250
Took 1.87s from 0.50s limit to run CodeIgniter\\Models\\SaveModelTest::testSaveNewEntityWithDate
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ForgeTest.php#L1509
Took 1.85s from 0.50s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/InsertModelTest.php#L50
Took 1.84s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Models/InsertModelTest.php#L237
Took 1.73s from 0.50s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.1, OCI8, 5.7) / tests: tests/system/Database/Live/ConnectTest.php#L95
Took 1.65s from 0.50s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover

Artifacts

Produced during runtime
Name Size
cache-live-tests-php-8.1-db-none Expired
2.03 MB
database-live-tests-php-8.1-db-MySQLi Expired
77.8 MB
database-live-tests-php-8.1-db-OCI8 Expired
79.4 MB
database-live-tests-php-8.1-db-Postgre Expired
76.6 MB
database-live-tests-php-8.1-db-SQLSRV Expired
76.5 MB
database-live-tests-php-8.1-db-SQLite3 Expired
76.1 MB
sanity-tests-php-8.1-db-none Expired
220 MB
separate-process-tests-php-8.1-db-none Expired
28.3 MB