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

Database mutations test added #2285

Merged

Conversation

imshivam-gupta
Copy link
Contributor

What kind of change does this PR introduce?

Added test for database mutations

Issue Number:

Fixes #2144

Did you add tests for your changes?

Yes

Summary

Added Test file for database mutations.

Have you read the contributing guide?

Yes

Copy link

Our Pull Request Approval Process

We have these basic policies to make the approval process smoother for our volunteer team.

Testing Your Code

Please make sure your code passes all tests. Our test code coverage system will fail if either of these two conditions occur:

  1. The overall code coverage drops below the target threshold of the repository
  2. Any file in the pull request has code coverage levels below the repository threshold

The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing.

Reviewers

When your PR has been assigned reviewers contact them to get your code reviewed and approved via:

  1. comments in this PR or
  2. our slack channel

Reviewing Your Code

Your reviewer(s) will have the following roles:

  1. arbitrators of future discussions with other contributors about the validity of your changes
  2. point of contact for evaluating the validity of your work
  3. person who verifies matching issues by others that should be closed.
  4. person who gives general guidance in fixing your tests

Other

🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.

@palisadoes palisadoes requested review from Ayush0Chaudhary, literalEval and noman2002 and removed request for Ayush0Chaudhary December 30, 2023 20:04
Copy link

codecov bot commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (23824b0) 90.26% compared to head (4f3185f) 91.56%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2285      +/-   ##
===========================================
+ Coverage    90.26%   91.56%   +1.30%     
===========================================
  Files          156      156              
  Lines         7435     7436       +1     
===========================================
+ Hits          6711     6809      +98     
+ Misses         724      627      -97     

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

@palisadoes palisadoes merged commit 97c1ee7 into PalisadoesFoundation:develop Dec 30, 2023
7 checks passed
@imshivam-gupta imshivam-gupta deleted the database_mutations_test branch December 30, 2023 21:03
Abhisheksainii pushed a commit to Abhisheksainii/talawa that referenced this pull request Jan 3, 2024
palisadoes pushed a commit to palisadoes/talawa that referenced this pull request Jan 10, 2024
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.

Write tests for database_mutation_functions.dart
3 participants