mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
fixed a test for view icon
This commit is contained in:
parent
e614a0e6be
commit
e0392920b8
1 changed files with 2 additions and 1 deletions
|
@ -181,7 +181,8 @@ class GetDomainsJsonTest(TestWithUser, WebTest):
|
|||
# Check svg_icon
|
||||
svg_icon_expected = (
|
||||
"visibility"
|
||||
if expected_domains[i].state
|
||||
if not user_domain_role_exists
|
||||
or expected_domains[i].state
|
||||
in [
|
||||
Domain.State.DELETED,
|
||||
Domain.State.ON_HOLD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue