Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Jan 1, 2023
1 parent 89d9261 commit 7272940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public async Task CanHandleFieldResolverErrorAsync() {
var validationResult = context.GetValidationResult();

Assert.False(validationResult.IsValid);
Assert.Contains("Error resolving", validationResult.Message);
Assert.Contains("Error in field resolver", validationResult.Message);
Assert.Contains("field1.nested", validationResult.Message);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public async Task CanHandleIncludeResolverError() {
var validationResult = context.GetValidationResult();
Assert.Contains("include1", validationResult.UnresolvedIncludes);
Assert.False(validationResult.IsValid);
Assert.Contains("Error resolving", validationResult.Message);
Assert.Contains("Error in include resolver", validationResult.Message);
Assert.Contains("include1", validationResult.Message);
}

Expand Down

0 comments on commit 7272940

Please sign in to comment.