diff --git a/posthog/api/test/test_organization_invites.py b/posthog/api/test/test_organization_invites.py index 94c59453d78b7..a486d796a9472 100644 --- a/posthog/api/test/test_organization_invites.py +++ b/posthog/api/test/test_organization_invites.py @@ -280,7 +280,7 @@ def test_invite_fails_if_team_in_private_project_access_not_in_org(self): { "type": "validation_error", "code": "invalid_input", - "detail": "Team does not exist on this organization, or it is private and you do not have access to it.", + "detail": "Project does not exist on this organization, or it is private and you do not have access to it.", "attr": "private_project_access", }, response_data, @@ -305,7 +305,7 @@ def test_invite_fails_if_inviter_does_not_have_access_to_team(self): { "type": "validation_error", "code": "invalid_input", - "detail": "Team does not exist on this organization, or it is private and you do not have access to it.", + "detail": "Project does not exist on this organization, or it is private and you do not have access to it.", "attr": "private_project_access", }, response_data,