diff --git a/curriculum/challenges/english/blocks/back-end-development-and-apis-projects/5a8b073d06fa14fcfde687aa.md b/curriculum/challenges/english/blocks/back-end-development-and-apis-projects/5a8b073d06fa14fcfde687aa.md index 78f5db0cce6..557983e1493 100644 --- a/curriculum/challenges/english/blocks/back-end-development-and-apis-projects/5a8b073d06fa14fcfde687aa.md +++ b/curriculum/challenges/english/blocks/back-end-development-and-apis-projects/5a8b073d06fa14fcfde687aa.md @@ -551,7 +551,7 @@ async () => { const { log } = await logRes.json(); const exercise = log[0]; assert.isString(exercise.date); - assert.include(expectedDates, exercise.date); // Check if date matches any valid dates + assert.oneOf(exercise.date, expectedDates); // Check if date matches any valid dates } else { throw new Error(`${logRes.status} ${logRes.statusText}`); }