Skip to content

Commit

Permalink
Fix invalid-json
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwok-he-Chu committed May 14, 2024
1 parent f0d2de1 commit 51991e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/notification/invalid_json_object_notification.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
const { test, expect } = require('@playwright/test');

test('Notification - Invalid JsonObject', async ({ request }) => {
const response = await request.post(`/sync`, {
data: {
body: 'invalid-json'
}
const response = await request.post('/sync', {
data: 'invalid-json'
});

await expect(response.ok()).toBeTruthy();
Expand Down

0 comments on commit 51991e5

Please sign in to comment.