diff --git a/frontends/api/src/test-utils/factories/learningResources.ts b/frontends/api/src/test-utils/factories/learningResources.ts index 26376b54c6..209be56bc5 100644 --- a/frontends/api/src/test-utils/factories/learningResources.ts +++ b/frontends/api/src/test-utils/factories/learningResources.ts @@ -85,7 +85,7 @@ const learningResourceBaseSchool: Factory = ( ) => { return { id: uniqueEnforcerId.enforce(() => faker.number.int()), - name: faker.lorem.word(), + name: faker.lorem.words(3), url: faker.internet.url(), ...overrides, } @@ -118,7 +118,7 @@ const learnigResourceSchool: Factory = ( ) => { return { id: uniqueEnforcerId.enforce(() => faker.number.int()), - name: faker.lorem.word(), + name: faker.lorem.words(3), url: faker.internet.url(), departments: repeat(learningResourceBaseDepartment), ...overrides,