-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Database/Live tests fail #4336
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
Comments
I think this is depending on the result of a previous test case. |
Probably, but what is it? Why And when I change test database from memory to sqlite file, |
I don't know why, but now the tests pass. $ vendor/bin/phpunit tests/system/Database/Live/ --no-coverage
PHPUnit 9.5.2 by Sebastian Bergmann and contributors.
......................................................S.S..S... 63 / 222 ( 28%)
............................................................... 126 / 222 ( 56%)
............................................................... 189 / 222 ( 85%)
................................. 222 / 222 (100%)
Time: 00:50.342, Memory: 26.00 MB
OK, but incomplete, skipped, or risky tests!
Tests: 222, Assertions: 445, Skipped: 3. |
Both PHP 7.4.16 and PHP 7.3.27 are okay. $ /usr/local/opt/php\@7.3/bin/php vendor/bin/phpunit tests/system/Database/Live/ --no-coverage
PHPUnit 9.5.2 by Sebastian Bergmann and contributors.
......................................................S.S..S... 63 / 222 ( 28%)
............................................................... 126 / 222 ( 56%)
............................................................... 189 / 222 ( 85%)
................................. 222 / 222 (100%)
Time: 00:16.534, Memory: 24.00 MB
OK, but incomplete, skipped, or risky tests!
Tests: 222, Assertions: 445, Skipped: 3. @paulbalandan If you pass the tests, close this issue, please. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I don't know why three tests fails.
The table
db_migrations
is gone.CodeIgniter 4 version
develop branch.
Affected module(s)
Database tests
Expected behavior, and steps to reproduce if appropriate
All tests pass.
Context
The text was updated successfully, but these errors were encountered: