Skip to content

Commit 5247952

Browse files
committed
removed beforeEach and afterEach block in migration test
1 parent 348ce2b commit 5247952

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/integration/users.test.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,15 +1039,6 @@ describe("Users", function () {
10391039
});
10401040

10411041
describe("POST /users/migrate", function () {
1042-
beforeEach(async function () {
1043-
superUserId = await addUser(superUser);
1044-
superUserAuthToken = authService.generateAuthToken({ userId: superUserId });
1045-
});
1046-
1047-
afterEach(async function () {
1048-
await cleanDb();
1049-
});
1050-
10511042
it("Should return 401 when user is unauthorize", function (done) {
10521043
chai
10531044
.request(app)

0 commit comments

Comments
 (0)