From 90185f964d215134f52ec32c79dea9c1488b2a1d Mon Sep 17 00:00:00 2001 From: Dongwon Choi Date: Sat, 9 Dec 2023 14:02:20 +0000 Subject: [PATCH] Test: change check message --- test/services/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/services/users.js b/test/services/users.js index 1bb2f586..4f2195da 100644 --- a/test/services/users.js +++ b/test/services/users.js @@ -15,7 +15,7 @@ describe("[users] 1.agreeOnTermsOfServiceHandler", () => { it("should return correct response from handler", async () => { const testUser1 = await userGenerator("test1", testData); const msg = - "User/agreeOnTermsOfService : agree on Terms of Service successful"; + "Users/agreeOnTermsOfService : agree on Terms of Service successful"; let req = httpMocks.createRequest({ userId: testUser1.id, }); @@ -50,7 +50,7 @@ describe("[users] 3.editNicknameHandler", () => { it("should return correct response from handler", async () => { const testUser1 = await userModel.findOne({ id: "test1" }); - const msg = "User/editNickname : edit user nickname successful"; + const msg = "Users/editNickname : edit user nickname successful"; let req = httpMocks.createRequest({ userId: testUser1.id, body: { @@ -77,7 +77,7 @@ describe("[users] 4.editAccountHandler", () => { it("should return correct response from handler", async () => { const testUser1 = await userModel.findOne({ id: "test1" }); - const msg = "User/editAccount : edit user account successful"; + const msg = "Users/editAccount : edit user account successful"; let req = httpMocks.createRequest({ userId: testUser1.id, body: {