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 tests to equalTo with more than one condition and with the same key #477

Conversation

igor-mobapps
Copy link

tests for the problem listed here #476

@dplewis
Copy link
Member

dplewis commented Jun 3, 2021

@igor-mobapps Thanks for the well-written test cases! Can you update from master so the build can pass?

I tried your tests locally and they passed.

@codecov
Copy link

codecov bot commented Jun 4, 2021

Codecov Report

Patch and project coverage have no change.

Comparison is base (77b06f4) 98.60% compared to head (fedcf10) 98.60%.

❗ Current head fedcf10 differs from pull request most recent head 4f61d83. Consider uploading reports for the commit 4f61d83 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #477   +/-   ##
=========================================
  Coverage     98.60%   98.60%           
  Complexity     1062     1062           
=========================================
  Files            38       38           
  Lines          3229     3229           
=========================================
  Hits           3184     3184           
  Misses           45       45           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

$query->notEqualTo('fooStack.status', 'baz');
$query->equalTo('fooStack.status', 'bar');

$this->assertEquals(3, $query->count(true));
Copy link
Member

Choose a reason for hiding this comment

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

Is this the expected results? Should these test fail instead of passing?

Copy link
Author

@igor-mobapps igor-mobapps Jun 8, 2021

Choose a reason for hiding this comment

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

yes, they must fail.

Only tests have been done, once the fix cited in #476 is implemented, they should fail

@dplewis
Copy link
Member

dplewis commented May 13, 2023

Closing via #510

@dplewis dplewis closed this May 13, 2023
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.

3 participants