feat: added product batches and provider models
This commit is contained in:
@@ -27,7 +27,7 @@ class TestChangePassword(APITestCase):
|
||||
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
jwt_token = response.data.get("access")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"JWT {jwt_token}")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"Bearer {jwt_token}")
|
||||
response = self.client.put(
|
||||
"/api/v1/auth/change-password/",
|
||||
{
|
||||
@@ -50,7 +50,7 @@ class TestChangePassword(APITestCase):
|
||||
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
jwt_token = response.data.get("access")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"JWT {jwt_token}")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"Bearer {jwt_token}")
|
||||
response = self.client.put(
|
||||
"/api/v1/auth/change-password/",
|
||||
{
|
||||
@@ -73,7 +73,7 @@ class TestChangePassword(APITestCase):
|
||||
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
jwt_token = response.data.get("access")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"JWT {jwt_token}")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"Bearer {jwt_token}")
|
||||
response = self.client.put(
|
||||
"/api/v1/auth/change-password/",
|
||||
{
|
||||
@@ -96,7 +96,7 @@ class TestChangePassword(APITestCase):
|
||||
|
||||
assert response.status_code == status.HTTP_200_OK
|
||||
jwt_token = response.data.get("access")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"JWT {jwt_token}")
|
||||
self.client.credentials(HTTP_AUTHORIZATION=f"Bearer {jwt_token}")
|
||||
response = self.client.put(
|
||||
"/api/v1/auth/change-password/",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user