Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaji-kharse committed Oct 14, 2024
1 parent 5f181e3 commit 08167c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions graphql/e2e/common/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func health(t *testing.T) {
cmpopts.IgnoreFields(pb.HealthInfo{}, "Ongoing"),
cmpopts.IgnoreFields(pb.HealthInfo{}, "MaxAssigned"),
cmpopts.EquateEmpty(),
cmpopts.IgnoreUnexported(),
}
if diff := cmp.Diff(health, result.Health, opts...); diff != "" {
t.Errorf("result mismatch (-want +got):\n%s", diff)
Expand Down
1 change: 1 addition & 0 deletions graphql/e2e/common/mutation.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ func ignoreOpts() []cmp.Option {
cmpopts.IgnoreFields(category{}, "ID"),
cmpopts.IgnoreFields(teacher{}, "ID"),
cmpopts.IgnoreFields(student{}, "ID"),
cmpopts.IgnoreUnexported(),
}
}

Expand Down

0 comments on commit 08167c7

Please sign in to comment.