-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
add tests to equalTo with more than one condition and with the same key #477
Conversation
@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. |
84790d6
to
2368d22
Compare
Codecov ReportPatch and project coverage have no change.
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. |
$query->notEqualTo('fooStack.status', 'baz'); | ||
$query->equalTo('fooStack.status', 'bar'); | ||
|
||
$this->assertEquals(3, $query->count(true)); |
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.
Is this the expected results? Should these test fail instead of passing?
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.
yes, they must fail.
Only tests have been done, once the fix cited in #476 is implemented, they should fail
Closing via #510 |
tests for the problem listed here #476