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

Make ActiveQuery::getARClassName() private #367

Closed
wants to merge 1 commit into from

Conversation

Tigrov
Copy link
Member

@Tigrov Tigrov commented Jun 25, 2024

Q A
Is bugfix? ✔️/❌
New feature?
Breaks BC? ✔️
Fixed issues -

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.35%. Comparing base (e3c7c6e) to head (0658a76).
Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #367   +/-   ##
=========================================
  Coverage     86.35%   86.35%           
  Complexity      598      598           
=========================================
  Files            13       13           
  Lines          1407     1407           
=========================================
  Hits           1215     1215           
  Misses          192      192           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -2671,7 +2671,7 @@ public function testARClassAsString(): void
$query = new ActiveQuery(Customer::class, $this->db);

$this->assertSame($query->getARClass(), Customer::class);
$this->assertSame($query->getARClassName(), Customer::class);
$this->assertSame(Assert::invokeMethod($query, 'getARClassName'), Customer::class);
Copy link
Contributor

Choose a reason for hiding this comment

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

Private method is tested directly.

@arogachev arogachev requested a review from a team June 25, 2024 07:49
@Tigrov Tigrov mentioned this pull request Sep 29, 2024
@Tigrov Tigrov closed this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants