return full profile response

This commit is contained in:
2021-06-26 12:16:14 +02:00
parent 3bd9b03002
commit fc01bec163
4 changed files with 124 additions and 16 deletions

View File

@ -34,10 +34,12 @@ class TestSkillsEndpoint(unittest.TestCase):
{
"skills": [{
"id": 1,
"name": "PHP"
"name": "PHP",
"icon_url": "/skills/1/icon"
}, {
"id": 3,
"name": "Python"
"name": "Python",
"icon_url": "/skills/3/icon"
}]
}, response.json)
self.assertIn("Access-Control-Allow-Origin", response.headers)