-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests and update mongodb-memory-server
- Loading branch information
1 parent
c413c07
commit 5158956
Showing
11 changed files
with
28,339 additions
and
18,400 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ const setup = async () => { | |
|
||
const order = Order.build({ | ||
userId: new mongoose.Types.ObjectId().toHexString(), | ||
userEmail: "[email protected]", | ||
status: OrderStatus.Created, | ||
expiresAt: new Date(), | ||
ticket: ticket, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ const setup = async () => { | |
|
||
const order = Order.build({ | ||
userId: new mongoose.Types.ObjectId().toHexString(), | ||
userEmail: "[email protected]", | ||
status: OrderStatus.Created, | ||
expiresAt: new Date(), | ||
ticket: ticket, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ it("returns error if ticket is already reserved", async () => { | |
const order = Order.build({ | ||
ticket, | ||
userId: "someid", | ||
userEmail: "[email protected]", | ||
status: OrderStatus.Created, | ||
expiresAt: new Date(), | ||
}); | ||
|
Oops, something went wrong.