Skip to content

tests: for sorting #2039

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

Merged
merged 1 commit into from
May 29, 2020
Merged

tests: for sorting #2039

merged 1 commit into from
May 29, 2020

Conversation

willtj
Copy link
Contributor

@willtj willtj commented May 26, 2020

This PR adds tests for sorting results from MongoDB - first a test to ensure that the results are unsorted as expected when no sort is applied, then tests for single and multiple sorts with/without a sort order.

#1508 (and the fact that this was added to the v4 project board) seems to suggest that applying multiple sorts isn't supported, but everything seems to be working as expected unless I've totally misunderstood the issue?

@codecov-commenter
Copy link

codecov-commenter commented May 26, 2020

Codecov Report

Merging #2039 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2039   +/-   ##
=========================================
  Coverage     87.15%   87.15%           
  Complexity      672      672           
=========================================
  Files            31       31           
  Lines          1541     1541           
=========================================
  Hits           1343     1343           
  Misses          198      198           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8978432...c615e9a. Read the comment docs.

@Smolevich Smolevich self-requested a review May 26, 2020 21:32
@Smolevich
Copy link
Contributor

@willtj thanks for contribution!

@Smolevich Smolevich merged commit 4a7f5c1 into mongodb:master May 29, 2020
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 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.

3 participants