Skip to content

Commit 381dfa6

Browse files
authored
Update tests.py
1 parent d04e7a7 commit 381dfa6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

authentication/tests/tests.py

-13
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,6 @@ def test_login_user_failure(self, mock_login_user):
5858
self.assertEqual(response.data["error"], "Login failed")
5959

6060

61-
class UserSearchViewTest(TestCase):
62-
def setUp(self):
63-
# Create test users in the test database
64-
User.objects.create(username="user1", first_name="Tomas", email="user1@example.com", phone="1234567890")
65-
User.objects.create(username="user2", first_name="Tomas", email="user2@example.com", phone="0987654321")
66-
User.objects.create(username="user3", first_name="Tamara", email="user3@example.com", phone="1122334455")
67-
self.client = APIClient()
68-
self.url = '/auth/search/'
69-
self.user_credentials = {
70-
"AuthenticationResult": {"AccessToken": "mock_access_token", "IdToken": "mock_id_token"}
71-
}
72-
73-
7461
class ProfileViewTests(TestCase):
7562
def setUp(self):
7663
self.client = APIClient()

0 commit comments

Comments
 (0)