Skip to content

Commit af33aff

Browse files
nejchJohnVillalovos
authored andcommitted
test(api): fix current user mail count in newer gitlab
1 parent e3035a7 commit af33aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/functional/api/test_current_user.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
def test_current_user_email(gl):
22
gl.auth()
33
mail = gl.user.emails.create({"email": "current@user.com"})
4-
assert len(gl.user.emails.list()) == 1
4+
assert len(gl.user.emails.list()) == 2
55

66
mail.delete()
7-
assert len(gl.user.emails.list()) == 0
7+
assert len(gl.user.emails.list()) == 1
88

99

1010
def test_current_user_gpg_keys(gl, GPG_KEY):

0 commit comments

Comments
 (0)