Skip to content

Commit

Permalink
remove outdated test
Browse files Browse the repository at this point in the history
  • Loading branch information
axiomofjoy committed Sep 25, 2024
1 parent 8382c64 commit 92961d2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions integration_tests/auth/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,18 +422,6 @@ def test_only_admin_can_create_user(
new_user.log_in()
assert _will_be_asked_to_reset_password(new_user)

@pytest.mark.parametrize("role_or_user", [_ADMIN, _DEFAULT_ADMIN])
@pytest.mark.parametrize("role", list(UserRoleInput))
def test_username_is_optional(
self,
role_or_user: _RoleOrUser,
role: UserRoleInput,
_get_user: _GetUser,
_profiles: Iterator[_Profile],
) -> None:
profile = replace(next(_profiles), username=None)
_get_user(role_or_user).create_user(role, profile=profile)


class TestPatchViewer:
@pytest.mark.parametrize("role_or_user", [_MEMBER, _ADMIN, _DEFAULT_ADMIN])
Expand Down

0 comments on commit 92961d2

Please sign in to comment.