Skip to content

Commit 5bddfe1

Browse files
update live preview assertion value
1 parent c54d168 commit 5bddfe1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/api/live-preview.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ describe("Live preview query Entry API tests", () => {
132132
} catch (error: any) {
133133
expect(error).toBeDefined();
134134
const errorData = JSON.parse(error.message);
135-
expect(errorData.statusText).toBe("Not Found");
136-
expect(errorData.status).toEqual(404);
135+
expect(errorData.status).toEqual(403);
137136
}
138137
});
139138

0 commit comments

Comments
 (0)