Skip to content

Commit

Permalink
Fix contract type multilingual description assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Jun 27, 2024
1 parent 8e9787f commit a57d40a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/search/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ def test_search(
assert biological_museum_unit["contract_type"]["id"] == "municipal_service"
assert (
biological_museum_unit["contract_type"]["description"]["fi"]
== "municipal_service"
== "kunnallinen palvelu"
)
assert (
biological_museum_unit["contract_type"]["description"]["sv"]
== "municipal_service"
== "kommunal tjänst"
)
assert (
biological_museum_unit["contract_type"]["description"]["en"]
== "municipal_service"
== "municipal service"
)
assert biological_museum_unit["department"]["name"]["fi"] == "Test Department"
assert (
Expand Down

0 comments on commit a57d40a

Please sign in to comment.