Skip to content

Commit

Permalink
Test: change check message
Browse files Browse the repository at this point in the history
  • Loading branch information
chlehdwon committed Dec 9, 2023
1 parent 4e03675 commit 90185f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/services/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down

0 comments on commit 90185f9

Please sign in to comment.