Fix buggy tearDown() with MySQL - #321
Merged
Merged
Conversation
Fixes a problem where calling `tearDown` results in a PHP Error: ``` Uncaught Error: Call to a member function real_escape_string() on bool in [...]/vendor/codeigniter/framework/system/database/drivers/mysqli/mysqli_driver.php:393 ```
mogul
added a commit
to GSA/project-open-data-dashboard
that referenced
this pull request
Jan 29, 2020
This branch depends on a fix in the upstream testing framework that I encountered. This change utilizes [Bret's fork with the fix](https://github.com/mogul/ci-phpunit-test/tree/patch-2) while [the PR for the fix](kenjis/ci-phpunit-test#321) is pending. This change can be rolled out once the upstream merge happens.
mogul
added a commit
to GSA/project-open-data-dashboard
that referenced
this pull request
Jan 29, 2020
This reverts the change in d0098bf. Don't merge it until the [upstream PR](kenjis/ci-phpunit-test#321)
Author
|
To see this bug in action, check out this PR/branch, then |
mogul
added a commit
to GSA/project-open-data-dashboard
that referenced
this pull request
Jan 29, 2020
This reverts the change in d0098bf. Don't merge it until the [upstream PR](kenjis/ci-phpunit-test#321)
Owner
|
@mogul Thank you. I'm going to check it. |
Owner
|
Owner
|
After applied the fix: |
Author
|
Excellent! Thank you for the rapid response. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a problem where calling
tearDownalso results in a PHP Error: