Skip to content

Commit

Permalink
fixed a test for view icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-kennedy-ecs committed Aug 1, 2024
1 parent e614a0e commit e039292
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/registrar/tests/test_views_domains_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def test_get_domains_json_with_portfolio(self):
# 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,
Expand Down

0 comments on commit e039292

Please sign in to comment.