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(i): Test CreateDoc tests with gql and Collection.Save #1837

Merged

Conversation

AndrewSisley
Copy link
Contributor

Relevant issue(s)

Resolves #1830

Description

Tests CreateDoc tests with gql and Collection.Save using the mutationType (environment) variable.

A Time for Mercy was already defined a few lines above, and this block was essentially becoming an update, as it was being fed into collection.Save.  The value has no real impact on the test as it is there to be filtered out, however it will fail when converted to a create gql request (as well as appearing quite misleading within the original test).
Will also be used by CreateDoc action soon.
@AndrewSisley AndrewSisley added area/query Related to the query component area/collections Related to the collections system area/testing Related to any test or testing suite code quality Related to improving code quality action/no-benchmark Skips the action that runs the benchmark. labels Aug 30, 2023
@AndrewSisley AndrewSisley added this to the DefraDB v0.7 milestone Aug 30, 2023
@AndrewSisley AndrewSisley requested a review from a team August 30, 2023 17:46
@AndrewSisley AndrewSisley self-assigned this Aug 30, 2023
@AndrewSisley AndrewSisley force-pushed the 1830-create-mut-tests branch from b712f7f to c9c0047 Compare August 30, 2023 17:57
@codecov
Copy link

codecov bot commented Aug 30, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (4dbb2d7) 75.81% compared to head (c9c0047) 75.76%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1837      +/-   ##
===========================================
- Coverage    75.81%   75.76%   -0.05%     
===========================================
  Files          209      209              
  Lines        22261    22261              
===========================================
- Hits         16875    16864      -11     
- Misses        4223     4231       +8     
- Partials      1163     1166       +3     
Flag Coverage Δ
all-tests 75.76% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

AndrewSisley added a commit to AndrewSisley/defradb that referenced this pull request Aug 30, 2023
@AndrewSisley AndrewSisley merged commit 8a8582b into sourcenetwork:develop Aug 31, 2023
@AndrewSisley AndrewSisley deleted the 1830-create-mut-tests branch August 31, 2023 12:33
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…work#1837)

## Relevant issue(s)

Resolves sourcenetwork#1830

## Description

Tests CreateDoc tests with gql and Collection.Save using the
`mutationType` (environment) variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/collections Related to the collections system area/query Related to the query component area/testing Related to any test or testing suite code quality Related to improving code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test CreateDoc tests with gql and Collection.Save
2 participants