Skip to content

Commit efee2df

Browse files
committed
CCM-13146 small rejig
1 parent e804b6e commit efee2df

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/playwright/digital-letters-component-tests/handle-ttl.component.spec.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,14 @@ test.describe('Digital Letters - Handle TTL', () => {
5050
withdrawn: true,
5151
};
5252

53-
await expectToPassEventually(async () => {
54-
const putResponseCode = await putTtl(ttlItem);
55-
expect(putResponseCode).toBe(201);
53+
const putResponseCode = await putTtl(ttlItem);
54+
expect(putResponseCode).toBe(200);
55+
56+
const deleteResponseCode = await deleteTtl(messageUri);
57+
expect(deleteResponseCode).toBe(200);
5658

57-
const deleteResponseCode = await deleteTtl(messageUri);
58-
expect(deleteResponseCode).toBe(200);
59+
await expectToPassEventually(async () => {
60+
// Check lambda log for withdrawn messageReference.
5961
});
6062
});
6163
});

0 commit comments

Comments
 (0)