Skip to content

Commit

Permalink
Count measure-products in reseed-db test
Browse files Browse the repository at this point in the history
  • Loading branch information
pylipp committed Oct 1, 2024
1 parent 3759a89 commit 7505e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/test/endpoint_tests/test_cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_reseed_db(cron_client, monkeypatch, mocker):

query = "query { products { totalCount } }"
response = assert_successful_request(cron_client, query)
assert response["totalCount"] == 8 + 76 * 4 # minimal seed + generated
assert response["totalCount"] == 8 + 84 * 4 # minimal seed + generated

query = "query { transferAgreements { id } }"
response = assert_successful_request(cron_client, query)
Expand Down

0 comments on commit 7505e48

Please sign in to comment.