Skip to content

Commit

Permalink
Excluded error context from test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBackx committed May 4, 2022
1 parent 36b62eb commit 12dc629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e-api/admin/__snapshots__/members.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2858,7 +2858,7 @@ Object {
"errors": Array [
Object {
"code": null,
"context": "Could not find Member 6271407d376545b8efc9cb00",
"context": Any<String>,
"details": null,
"help": null,
"id": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/,
Expand Down
3 changes: 2 additions & 1 deletion test/e2e-api/admin/members.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,8 @@ describe('Members API', function () {
.expectStatus(404)
.matchBodySnapshot({
errors: [{
id: anyUuid
id: anyUuid,
context: anyString
}]
})
.matchHeaderSnapshot({
Expand Down

0 comments on commit 12dc629

Please sign in to comment.