Skip to content

Commit

Permalink
Switch to using new bedspace attribute enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
aliuk2012 committed Dec 9, 2024
1 parent 75848dc commit d891315
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/testutils/factories/bedSearchParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import {
import { DateFormats } from '../../utils/dateUtils'
import referenceData from './referenceData'

const bedSearchAttributes: Array<BedSearchAttributes> = ['singleOccupancy', 'sharedProperty', 'wheelchairAccessible']
const bedSearchAttributes: Array<BedSearchAttributes> = [
'isSingleOccupancy',
'isSharedProperty',
'isWheelchairAccessible',
]

export default Factory.define<BedSearchAPIParameters>(() => ({
startDate: DateFormats.dateObjToIsoDate(faker.date.soon()),
Expand Down

0 comments on commit d891315

Please sign in to comment.