Skip to content

Commit 708d57e

Browse files
committed
refactor tests
1 parent 31ad08a commit 708d57e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/users.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ describe("Users", function () {
12631263
Sinon.restore();
12641264
});
12651265

1266-
it("Should update the user", async function () {
1266+
it("Should add github_user_id to the user", async function () {
12671267
fetchStub.resolves({
12681268
data: githubUserInfo[0]._json,
12691269
});
@@ -1272,7 +1272,7 @@ describe("Users", function () {
12721272
.post(`/users/migrate`)
12731273
.set("Cookie", `${cookieName}=${superUserAuthToken}`);
12741274
expect(usersMigrateResponse).to.have.status(200);
1275-
expect(usersMigrateResponse.body).to.eql({
1275+
expect(usersMigrateResponse.body).to.deep.equal({
12761276
message: "Result of migration",
12771277
data: {
12781278
totalUsers: 2,

0 commit comments

Comments
 (0)