Last active
July 9, 2020 20:38
-
-
Save qury/2cbbe5d8748aace511a1c2f78d9fdc6c to your computer and use it in GitHub Desktop.
sqlsrv tests 2020-07-09
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-5.0$ ./phpunit tests/system/Database/Live/ | |
PHPUnit 8.5.8 by Sebastian Bergmann and contributors. | |
Error: No code coverage driver is available | |
..............F................................................ 63 / 335 ( 18%) | |
............................................................... 126 / 335 ( 37%) | |
..........FFF................EEEEF...F.F....................... 189 / 335 ( 56%) | |
...............................F...............F............... 252 / 335 ( 75%) | |
......................E.E...............FEF.................... 315 / 335 ( 94%) | |
.................... 335 / 335 (100%) | |
Time: 46.15 seconds, Memory: 24.00 MB | |
There were 7 errors: | |
1) CodeIgniter\Database\Live\ModelTest::testFirstRespectsSoftDeletes with data set #0 (true, true) | |
Error: Call to a member function getFirstRow() on bool | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Model.php:508 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:347 | |
2) CodeIgniter\Database\Live\ModelTest::testFirstRespectsSoftDeletes with data set #1 (false, false) | |
Error: Call to a member function getFirstRow() on bool | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Model.php:508 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:347 | |
3) CodeIgniter\Database\Live\ModelTest::testFirstRespectsSoftDeletes with data set #2 (true, false) | |
Error: Call to a member function getFirstRow() on bool | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Model.php:508 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:347 | |
4) CodeIgniter\Database\Live\ModelTest::testFirstRespectsSoftDeletes with data set #3 (false, true) | |
Error: Call to a member function getFirstRow() on bool | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Model.php:508 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:332 | |
5) CodeIgniter\Database\Live\ModelTest::testFirstRecoverTempUseSoftDeletes with data set #1 (false, false) | |
ErrorException: Trying to get property 'id' of non-object | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:2291 | |
6) CodeIgniter\Database\Live\ModelTest::testFirstRecoverTempUseSoftDeletes with data set #3 (false, true) | |
ErrorException: Trying to get property 'id' of non-object | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:2291 | |
7) CodeIgniter\Database\Live\SQLite\AlterTableTest::testDropForeignKeySuccess | |
ErrorException: Undefined offset: 0 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/SQLite/AlterTableTest.php:164 | |
-- | |
There were 11 failures: | |
1) CodeIgniter\Database\Live\DEBugTest::testDBDebugTrue | |
Failed asserting that exception of type "Exception" is thrown. | |
THESE RUN FINE WHEN EXECUTING THE MetadataTest.php standalone! | |
2) CodeIgniter\Database\Live\MetadataTest::testListTables | |
3) CodeIgniter\Database\Live\MetadataTest::testListTablesConstrainPrefix | |
4) CodeIgniter\Database\Live\MetadataTest::testConstrainPrefixIgnoresOtherTables | |
5) CodeIgniter\Database\Live\ModelTest::testFirstWithNoPrimaryKey | |
Failed asserting that null is an instance of class "stdClass". | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:373 | |
6) CodeIgniter\Database\Live\ModelTest::testSaveUpdateRecordArray | |
Row not found in database: SELECT COUNT(*) AS "numrows" | |
FROM "db_job" | |
WHERE "name" LIKE 'Apprentice' | |
Failed asserting that false is true. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Test/CIDatabaseTestCase.php:315 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:446 | |
7) CodeIgniter\Database\Live\ModelTest::testSaveUpdateRecordObject | |
Row not found in database: SELECT COUNT(*) AS "numrows" | |
FROM "db_job" | |
WHERE "name" LIKE 'Engineer' | |
Failed asserting that false is true. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Test/CIDatabaseTestCase.php:315 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:486 | |
8) CodeIgniter\Database\Live\ModelTest::testUpdateNoPrimaryKey | |
Row not found in database: SELECT COUNT(*) AS "numrows" | |
FROM "db_secondary" | |
WHERE "key" LIKE 'bar' | |
AND "value" LIKE 'baz' | |
Failed asserting that false is true. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Test/CIDatabaseTestCase.php:315 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:1443 | |
9) CodeIgniter\Database\Live\ModelTest::testPaginateForQueryWithGroupBy | |
Failed asserting that 0 matches expected 4. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/ModelTest.php:1725 | |
10) CodeIgniter\Database\Live\SQLite\AlterTableTest::testModifyColumnSuccess | |
Failed asserting that false is true. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/SQLite/AlterTableTest.php:153 | |
11) CodeIgniter\Database\Live\SQLite\AlterTableTest::testProcessCopiesOldData | |
Row was found in database | |
Failed asserting that false is true. | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/system/Test/CIDatabaseTestCase.php:294 | |
/home/fkurucz/Public/SQLSRV/NEW/CodeIgniter4/tests/system/Database/Live/SQLite/AlterTableTest.php:200 | |
ERRORS! | |
Tests: 335, Assertions: 665, Errors: 7, Failures: 11. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment