Skip to content

Commit

Permalink
Corrected function names from copy/paste
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Jan 24, 2024
1 parent 629b923 commit 7442221
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def app_fixture(mocker: MockerFixture) -> FastAPI:


@pytest.fixture
def get_institutions_mock(mocker: MockerFixture) -> Mock:
def get_filing_period_mock(mocker: MockerFixture) -> Mock:
mock = mocker.patch("entities.repos.submission_repo.get_filing_periods")
mock.return_value = [
FilingPeriodDAO(
Expand Down
2 changes: 1 addition & 1 deletion tests/api/routers/test_filing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class TestFilingApi:
def test_get_periods(self, mocker: MockerFixture, app_fixture: FastAPI, get_institutions_mock: Mock):
def test_get_periods(self, mocker: MockerFixture, app_fixture: FastAPI, get_filing_period_mock: Mock):
client = TestClient(app_fixture)
res = client.get("/v1/filing/periods")
assert res.status_code == 200
Expand Down

0 comments on commit 7442221

Please sign in to comment.