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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy