Add subcription feature 6
This commit is contained in:
@@ -252,7 +252,7 @@ class SubscriptionCreationFlowTester:
|
||||
|
||||
async def _verify_subscription_linked_to_tenant(self, subscription_id: str, tenant_id: str):
|
||||
"""Verify that the subscription is properly linked to the tenant"""
|
||||
url = f"{self.base_url}/api/v1/subscriptions/{tenant_id}/status"
|
||||
url = f"{self.base_url}/api/v1/tenants/{tenant_id}/subscription/status"
|
||||
|
||||
# Get access token for the user
|
||||
access_token = await self._get_user_access_token()
|
||||
@@ -280,7 +280,7 @@ class SubscriptionCreationFlowTester:
|
||||
|
||||
async def _verify_tenant_subscription_access(self, tenant_id: str):
|
||||
"""Verify that the tenant can access its subscription"""
|
||||
url = f"{self.base_url}/api/v1/subscriptions/{tenant_id}/active"
|
||||
url = f"{self.base_url}/api/v1/tenants/{tenant_id}/subscription/details"
|
||||
|
||||
# Get access token for the user
|
||||
access_token = await self._get_user_access_token()
|
||||
|
||||
Reference in New Issue
Block a user