forked from kompetenzinventar/ki-backend
Fix test name (kompetenzinventar/ki-doku#48)
This commit is contained in:
parent
c65ef4a95c
commit
d7f4acf251
@ -99,7 +99,7 @@ class TestFindProfilesEndpoint(ApiTest):
|
|||||||
self.assertDictContainsSubset({"nickname": "jutta"}, response.json["profiles"][0])
|
self.assertDictContainsSubset({"nickname": "jutta"}, response.json["profiles"][0])
|
||||||
self.assertDictContainsSubset({"nickname": "monique"}, response.json["profiles"][1])
|
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"]
|
token = self.login("peter", "geheim")["token"]
|
||||||
|
|
||||||
response = self.client.get("/users/profiles?search=friedrich", headers={"Authorization": "Bearer " + token})
|
response = self.client.get("/users/profiles?search=friedrich", headers={"Authorization": "Bearer " + token})
|
||||||
|
Loading…
Reference in New Issue
Block a user