Skip to content

Commit

Permalink
More chances for null category in mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Apr 21, 2024
1 parent a729398 commit ef260e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/server/src/lib/test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ export const Bottle = async (
const [bottle] = await tx
.insert(bottles)
.values({
category: choose([...CATEGORY_LIST, undefined]),
statedAge: choose([undefined, 3, 10, 12, 15, 18, 20, 25]),
category: choose([...CATEGORY_LIST, null, null]),
statedAge: choose([null, null, null, null, 3, 10, 12, 15, 18, 20, 25]),
...data,
name,
fullName: `${brand.name} ${name}`,
Expand Down

0 comments on commit ef260e1

Please sign in to comment.