diff --git a/src/registrar/tests/test_management_scripts.py b/src/registrar/tests/test_management_scripts.py index 3cd4ec961..0c9ef0164 100644 --- a/src/registrar/tests/test_management_scripts.py +++ b/src/registrar/tests/test_management_scripts.py @@ -2222,7 +2222,7 @@ class TestRemovePortfolios(TestCase): # Check that the unlisted portfolio was removed self.assertEqual(Portfolio.objects.count(), 1) self.assertFalse(Portfolio.objects.filter(organization_name="Test with orphaned objects").exists()) - self.assertFalse(Portfolio.objects.filter(organization_name="Test with orphaned objects").exists()) + self.assertFalse(Portfolio.objects.filter(organization_name="Test with suborg").exists()) self.assertTrue(Portfolio.objects.filter(organization_name="Department of Veterans Affairs").exists()) @patch("registrar.management.commands.utility.terminal_helper.TerminalHelper.query_yes_no")