Skip to content

Commit b25e732

Browse files
committed
fix(test): add publicationDate in other payload
1 parent 9d45484 commit b25e732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/officialtexts/__tests__/officialtexts.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const payload = {
1717
endDate: '2020',
1818
textExtract: 'string',
1919
};
20-
const updatePayLoad = { nature: 'Publication au BOESR', type: 'Décret' };
20+
const updatePayLoad = { nature: 'Publication au BOESR', type: 'Décret', publicationDate: '2020-06-01' };
2121

2222
beforeAll(async () => {
2323
authorization = await global.utils.createUser('user');

0 commit comments

Comments
 (0)