We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31ad08a commit 708d57eCopy full SHA for 708d57e
test/integration/users.test.js
@@ -1263,7 +1263,7 @@ describe("Users", function () {
1263
Sinon.restore();
1264
});
1265
1266
- it("Should update the user", async function () {
+ it("Should add github_user_id to the user", async function () {
1267
fetchStub.resolves({
1268
data: githubUserInfo[0]._json,
1269
@@ -1272,7 +1272,7 @@ describe("Users", function () {
1272
.post(`/users/migrate`)
1273
.set("Cookie", `${cookieName}=${superUserAuthToken}`);
1274
expect(usersMigrateResponse).to.have.status(200);
1275
- expect(usersMigrateResponse.body).to.eql({
+ expect(usersMigrateResponse.body).to.deep.equal({
1276
message: "Result of migration",
1277
data: {
1278
totalUsers: 2,
0 commit comments