mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix search tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
29286c8fdb
commit
af8a96c18b
@ -57,7 +57,7 @@ const bedFixtures = [
|
||||
sku: 'sleepybed_0152',
|
||||
savEmail: 'sav@bed.fr',
|
||||
type: 'foam',
|
||||
serialNumber: 2908199401091998,
|
||||
serialNumber: 9999999999999999,
|
||||
peopleNumber: 6,
|
||||
fabricThickness: 1.14157,
|
||||
},
|
||||
|
||||
@ -86,7 +86,7 @@ describe('Core API - Basic + draftAndPublish', () => {
|
||||
const product = {
|
||||
name: 'Product 2',
|
||||
description: 'Product description',
|
||||
published_at: '2020-08-20T10:27:55.866Z',
|
||||
published_at: '2020-08-20T10:27:55.000Z',
|
||||
};
|
||||
const res = await rq({
|
||||
method: 'POST',
|
||||
@ -145,7 +145,7 @@ describe('Core API - Basic + draftAndPublish', () => {
|
||||
const product = {
|
||||
name: 'Product 1 updated',
|
||||
description: 'Updated Product description',
|
||||
published_at: '2020-08-27T09:50:50.465Z',
|
||||
published_at: '2020-08-27T09:50:50.000Z',
|
||||
};
|
||||
const res = await rq({
|
||||
method: 'PUT',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user