From a57d40a709d6aa98223a055b8356ba4b1b69c1fd Mon Sep 17 00:00:00 2001 From: juuso-j <68938778+juuso-j@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:26:52 +0300 Subject: [PATCH] Fix contract type multilingual description assertions --- services/search/tests/test_api.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/search/tests/test_api.py b/services/search/tests/test_api.py index d24653dee..048fd4652 100644 --- a/services/search/tests/test_api.py +++ b/services/search/tests/test_api.py @@ -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 (