-
-
Notifications
You must be signed in to change notification settings - Fork 16
Refactor tests #444
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
Refactor tests #444
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #444 +/- ##
============================================
- Coverage 98.83% 98.70% -0.13%
Complexity 252 252
============================================
Files 24 24
Lines 775 775
============================================
- Hits 766 765 -1
- Misses 9 10 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tests/SchemaTest.php
Outdated
| $db = $this->getConnection(); | ||
| $serverVersion = $db->getServerInfo()->getVersion(); | ||
| $db->close(); | ||
| $serverVersion = $this->getSharedConnection()->getServerInfo()->getVersion(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add new method $this->getServerVersion()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestConnection::getServerVersion() is added.
Related to yiisoft/db#1098