Skip to content

Refactor tests - #444

Merged
vjik merged 9 commits into
masterfrom
refactor-test
Nov 20, 2025
Merged

vjik merged 9 commits into
masterfrom
refactor-test

Conversation

@vjik

@vjik vjik commented Nov 19, 2025

Copy link
Copy Markdown
Member
Q A
Is bugfix? ❌
New feature? ❌
Breaks BC? ❌

Related to yiisoft/db#1098

@vjik vjik mentioned this pull request Nov 19, 2025
@codecov

codecov Bot commented Nov 19, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.70%. Comparing base (b402406) to head (3de255b).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vjik
vjik requested a review from a team November 19, 2025 13:38
@vjik vjik added the status:code review The pull request needs review. label Nov 19, 2025
Comment thread tests/SchemaTest.php Outdated
$db = $this->getConnection();
$serverVersion = $db->getServerInfo()->getVersion();
$db->close();
$serverVersion = $this->getSharedConnection()->getServerInfo()->getVersion();

Copy link
Copy Markdown
Member

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()?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TestConnection::getServerVersion() is added.

@vjik
vjik requested a review from Tigrov November 20, 2025 12:54
@vjik
vjik merged commit 2a8683d into master Nov 20, 2025
29 of 31 checks passed
@vjik
vjik deleted the refactor-test branch November 20, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:code review The pull request needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants