Skip to content

Commit

Permalink
Add username field to UserModel in generate-availability.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalsoueidan committed Jul 3, 2024
1 parent eba0de3 commit 7c23518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library/availability/generate-availability.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { SlotWeekDays } from "~/functions/schedule";
import { UserModel } from "~/functions/user/user.model";
import { getProductObject } from "../jest/helpers/product";
import {
GenerateAvailabilityProps,
generateAvailability,
GenerateAvailabilityProps,
} from "./generate-availability";

require("~/library/jest/mongoose/mongodb.jest");
Expand Down Expand Up @@ -102,6 +102,7 @@ describe("generateAvailability", () => {
UserModel.create({
customerId,
fullname: "jamal soueidan",
username: "jamal",
})
);

Expand Down

0 comments on commit 7c23518

Please sign in to comment.