From d7f4acf2513a0b5e0b47ef77355e69059b6fb7a7 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Thu, 20 Apr 2023 18:25:32 +0200 Subject: [PATCH] Fix test name (kompetenzinventar/ki-doku#48) --- ki/test/test_find_profiles_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ki/test/test_find_profiles_endpoint.py b/ki/test/test_find_profiles_endpoint.py index 33dac44..74eeae3 100644 --- a/ki/test/test_find_profiles_endpoint.py +++ b/ki/test/test_find_profiles_endpoint.py @@ -99,7 +99,7 @@ class TestFindProfilesEndpoint(ApiTest): self.assertDictContainsSubset({"nickname": "jutta"}, response.json["profiles"][0]) self.assertDictContainsSubset({"nickname": "monique"}, response.json["profiles"][1]) - def test_find_peter_by_name(self): + def test_find_dieter_by_name(self): token = self.login("peter", "geheim")["token"] response = self.client.get("/users/profiles?search=friedrich", headers={"Authorization": "Bearer " + token})