Skip to content

Commit 990cfe3

Browse files
committed
change beforeEach to before
Signed-off-by: shirady <57721533+shirady@users.noreply.github.com>
1 parent b0c05ca commit 990cfe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/integration_tests/api/iam/test_iam_advanced_integration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ mocha.describe('IAM advanced integration tests', async function() {
142142
});
143143

144144
mocha.describe('IAM UpdateUser API', async function() {
145-
mocha.beforeEach(async () => {
145+
mocha.before(async () => {
146146
// create a user
147147
const input = {
148148
UserName: username
@@ -152,7 +152,7 @@ mocha.describe('IAM advanced integration tests', async function() {
152152
_check_status_code_ok(response);
153153
});
154154

155-
mocha.afterEach(async () => {
155+
mocha.after(async () => {
156156
// delete a user
157157
const input = {
158158
UserName: username

0 commit comments

Comments
 (0)