Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Nov 28, 2023
1 parent a011f05 commit d9f076a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/__tests__/network/getNetworkById.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const mockSession: PartialDeep<Session> = {
};

it("should throw an error if the user is not the author of the network", async () => {
prisma.network.findFirst = jest.fn().mockRejectedValue(
prisma.network.findUnique = jest.fn().mockRejectedValue(
new TRPCError({
message: "Network not found!",
code: "BAD_REQUEST",
Expand Down

0 comments on commit d9f076a

Please sign in to comment.