diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-12-11 15:36:32 +0100 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2021-12-11 10:25:08 -0800 |
commit | af33affa4888fa83c31557ae99d7bbd877e9a605 (patch) | |
tree | d07f2319ef51b9c45af8b66f71c5024ddbc9c8b4 | |
parent | e3035a799a484f8d6c460f57e57d4b59217cd6de (diff) | |
download | gitlab-af33affa4888fa83c31557ae99d7bbd877e9a605.tar.gz |
test(api): fix current user mail count in newer gitlab
-rw-r--r-- | tests/functional/api/test_current_user.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/api/test_current_user.py b/tests/functional/api/test_current_user.py index 5802457..c8fc639 100644 --- a/tests/functional/api/test_current_user.py +++ b/tests/functional/api/test_current_user.py @@ -1,10 +1,10 @@ def test_current_user_email(gl): gl.auth() mail = gl.user.emails.create({"email": "current@user.com"}) - assert len(gl.user.emails.list()) == 1 + assert len(gl.user.emails.list()) == 2 mail.delete() - assert len(gl.user.emails.list()) == 0 + assert len(gl.user.emails.list()) == 1 def test_current_user_gpg_keys(gl, GPG_KEY): |