Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class DataStoreConnectionOptionalAssociations: SyncEngineIntegrationV2TestBase {
queriedComment.post = nil
// A mock GraphQL request is created to assert that the request variables contains the "postId"
// with the value `nil` which is sent to the API to persist the removal of the association.
let request = GraphQLRequest<Comment8>.createMutation(of: queriedComment, version: 1)
let request = GraphQLRequest<Comment8>.updateMutation(of: queriedComment, version: 1)
guard let variables = request.variables,
let input = variables["input"] as? [String: Any?],
let postValue = input["postId"],
Expand Down