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

test: Do not mock ParseObject and ParseOp for ParseQuery tests #2123

Merged
merged 1 commit into from May 14, 2024

Conversation

mstniy
Copy link
Contributor

@mstniy mstniy commented May 10, 2024

Pull Request

Issue

#2122

Closes: #2122

Approach

ParseQuery tests: Do not mock ParseObject and ParseOp
ParseObject mocks used by the ParseQuery tests on the upstream branch are broken, and the LocalDatastore tests are only passing because the ParseQuery tests before them are unmocking ParseObject.

Tasks

None

Copy link

Thanks for opening this pull request!

@mstniy mstniy changed the title ParseQuery tests: Do not mock ParseObject and ParseOp tests: ParseQuery tests: Do not mock ParseObject and ParseOp May 10, 2024
@mstniy mstniy changed the title tests: ParseQuery tests: Do not mock ParseObject and ParseOp tests: do not mock ParseObject and ParseOp for ParseQuery tests May 10, 2024
@mstniy mstniy changed the title tests: do not mock ParseObject and ParseOp for ParseQuery tests test: do not mock ParseObject and ParseOp for ParseQuery tests May 10, 2024
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title test: do not mock ParseObject and ParseOp for ParseQuery tests test: Do not mock ParseObject and ParseOp for ParseQuery tests May 10, 2024
Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (72bc9ac) to head (0ed13b8).
Report is 23 commits behind head on alpha.

Additional details and impacted files
@@             Coverage Diff             @@
##            alpha     #2123      +/-   ##
===========================================
+ Coverage   99.98%   100.00%   +0.01%     
===========================================
  Files          61        64       +3     
  Lines        6185      6275      +90     
  Branches     1499      1506       +7     
===========================================
+ Hits         6184      6275      +91     
+ Misses          1         0       -1     

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

@mtrezza mtrezza requested a review from a team May 10, 2024 12:53
Copy link
Member

@dplewis dplewis left a comment

Choose a reason for hiding this comment

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

LGTM!

@mtrezza mtrezza merged commit 01faf7b into parse-community:alpha May 14, 2024
9 of 10 checks passed
@mstniy mstniy deleted the issue_2122 branch May 15, 2024 06:36
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0-alpha.10

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label May 15, 2024
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label May 16, 2024
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.1.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LocalDatastore tests fail
4 participants