Skip to content
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

Add listTable() tests #2211

Merged
merged 8 commits into from Sep 19, 2019
Merged

Conversation

MGatner
Copy link
Member

@MGatner MGatner commented Sep 11, 2019

Description
Currently there are no tests for the database metadata methods. There are a lot more that should be added but this creates the file and adds tests for listTables() that exhibits the error described in #2210.

Someone who knows what's up with the weird ! escape character business take a look?

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@MGatner
Copy link
Member Author

MGatner commented Sep 11, 2019

@lonnieezell Sorry I made a mess of this. Good news is [ci skip] worked on my commit above!

I believe this is correct now and the failure demonstrates the bug with ConstrainPrefix. I'm still not sure on a solution.

MGatner and others added 2 commits September 17, 2019 09:39
Co-Authored-By: Michal Sniatala <michal@sniatala.pl>
@MGatner MGatner mentioned this pull request Sep 17, 2019
5 tasks
@MGatner
Copy link
Member Author

MGatner commented Sep 17, 2019

How the 🤬 did code coverage go down then all I did was add tests?? @lonnieezell this is ready to go unless @michalsn notices anything else.

@lonnieezell lonnieezell merged commit 1f4cd89 into codeigniter4:develop Sep 19, 2019
@MGatner MGatner deleted the db-underscore branch September 19, 2019 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants