mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 19:51:17 +00:00
fix tests
This commit is contained in:
parent
63e6e4dc5c
commit
9aca5a6af5
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ describe("publishedCourseSchema", () => {
|
|||
...validPublishedCourse,
|
||||
isStandingOrder: true,
|
||||
frequency: "weekly",
|
||||
endDate: "2026-12-31",
|
||||
});
|
||||
expect(result.success).toBe(true);
|
||||
});
|
||||
|
|
@ -137,6 +138,7 @@ describe("publishedCourseSchema", () => {
|
|||
...validPublishedCourse,
|
||||
isStandingOrder: true,
|
||||
frequency: "custom",
|
||||
endDate: "2026-12-31",
|
||||
weekdays: [],
|
||||
});
|
||||
expect(result.success).toBe(false);
|
||||
|
|
@ -148,6 +150,7 @@ describe("publishedCourseSchema", () => {
|
|||
...validPublishedCourse,
|
||||
isStandingOrder: true,
|
||||
frequency: "custom",
|
||||
endDate: "2026-12-31",
|
||||
weekdays: ["Montag", "Mittwoch"],
|
||||
});
|
||||
expect(result.success).toBe(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue