mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 17:28:31 +02:00
Update src/registrar/tests/test_views_portfolio.py
Co-authored-by: Matt-Spence <matthewswSpence@gmail.com>
This commit is contained in:
parent
89c2e4543a
commit
990e16246d
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ class TestPortfolio(WebTest):
|
|||
def test_portfolio_in_session_is_none_when_organization_feature_inactive(self):
|
||||
"""When organization_feature flag is false and user has a portfolio,
|
||||
the portfolio should be set to None in session.
|
||||
This test also satisfies the conidition when multiple_portfolios flag
|
||||
This test also satisfies the condition when multiple_portfolios flag
|
||||
is false and user has a portfolio, so won't add a redundant test for that."""
|
||||
self.client.force_login(self.user)
|
||||
portfolio_roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue