|
10 | 10 | from app.tests.utils.user import create_user, user_authentication_headers
|
11 | 11 |
|
12 | 12 |
|
13 |
| -def test_get_organizations(client: TestClient, db: Session) -> None: |
| 13 | +def test_read_organizations(client: TestClient, db: Session) -> None: |
14 | 14 | # Create test data in the database using db fixture
|
15 | 15 | org1 = create_random_organization(db)
|
16 | 16 | org2 = create_random_organization(db)
|
@@ -62,7 +62,7 @@ def test_get_organizations(client: TestClient, db: Session) -> None:
|
62 | 62 | assert organizations[0]["id"] == org3.id
|
63 | 63 |
|
64 | 64 |
|
65 |
| -def test_get_organization(client: TestClient, db: Session) -> None: |
| 65 | +def test_read_organization(client: TestClient, db: Session) -> None: |
66 | 66 | organization = create_random_organization(db)
|
67 | 67 | user = create_user( session=db, email="[email protected]", password="test123")
|
68 | 68 | add_user_to_organization(
|
@@ -93,7 +93,7 @@ def test_get_organization(client: TestClient, db: Session) -> None:
|
93 | 93 | assert "full_name" in item["user"]
|
94 | 94 |
|
95 | 95 |
|
96 |
| -def test_get_organization_not_found(client: TestClient) -> None: |
| 96 | +def test_read_organization_not_found(client: TestClient) -> None: |
97 | 97 | user_auth_headers = user_authentication_headers(
|
98 | 98 | client=client,
|
99 | 99 | email=settings.FIRST_SUPERUSER,
|
|
0 commit comments