Skip to content

Commit 5ccf9e9

Browse files
author
chooco13
committed
fix wrong test code
1 parent 2b355f6 commit 5ccf9e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/client.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ describe("client", () => {
6969
});
7070

7171
it("getRoomMemberProfile", () => {
72-
return client.getRoomMemberProfile("text_room_id", "test_user_id")
72+
return client.getRoomMemberProfile("test_room_id", "test_user_id")
7373
.then((res: any) => {
7474
equal(res.headers.authorization, "Bearer test_channel_access_token");
75-
equal(res.path, "/group/test_room_id/member/test_user_id");
75+
equal(res.path, "/room/test_room_id/member/test_user_id");
7676
equal(res.method, "GET");
7777
});
7878
});

0 commit comments

Comments
 (0)