Skip to content

Commit 8ac60bf

Browse files
Merge pull request #193 from contentstack/fix/lp-test-assertions
fix: remove specific error assertions for live preview query entry AP…
2 parents f2d796b + ce370dd commit 8ac60bf

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
@@ -129,8 +129,7 @@ describe('Live preview query Entry API tests', () => {
129129
} catch (error: any) {
130130
expect(error).toBeDefined();
131131
const errorData = JSON.parse(error.message);
132-
expect(errorData.statusText).toBe('Not Found');
133-
expect(errorData.status).toEqual(404);
132+
expect(errorData.status).toEqual(403);
134133
}
135134
});
136135

0 commit comments

Comments
 (0)