-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(i): Update mut. tests to make use of mut. system (#1853)
## Relevant issue(s) Resolves #1851 ## Description Updates the mutation tests to make use of mutation system. A handful of collection based tests still exist, as they test stuff that does not yet have support in the new mutation test system (filter, UpdateWithKey(s)). These should be moved later when such support is added. Similarly, the new mutation system does not yet support txns, so the gql request based txn tests remain as gql tests for now. #1703 Was linked up to tests in this PR, and #1852 and #1854 were discovered. Fixing them is out of scope here. Update: It does now fix a bug in the http client collection.Create[Many] functions, as it was easier to fix than to open a ticket.
- Loading branch information
1 parent
447a8a7
commit c70676e
Showing
21 changed files
with
851 additions
and
1,601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Make existing mutation tests use mutation test system | ||
|
||
This is not a breaking change, tests were changed from using gql requests to CreateDoc and UpdateDoc actions, meaning the point at which the change detector split setup/assert shifted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
tests/integration/collection/create/one_to_many/simple_test.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
127 changes: 0 additions & 127 deletions
127
tests/integration/collection/create/one_to_one/save_test.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.