diff --git a/djangoldp/tests/tests_save.py b/djangoldp/tests/tests_save.py index 15d2cfe996e24afce1ac51f6085dc3e5933eb84a..0674d12a6e7fe5bc85f5f332f7d7dddaffe8e30d 100644 --- a/djangoldp/tests/tests_save.py +++ b/djangoldp/tests/tests_save.py @@ -258,7 +258,7 @@ class Save(TestCase): def test_nested_container(self): resource = Resource.objects.create() body = { - 'title': "new job", + 'http://happy-dev.fr/owl/#title': "new job", } response = self.client.post('/resources/{}/joboffers/'.format(resource.pk), @@ -266,6 +266,7 @@ class Save(TestCase): content_type='application/ld+json') self.assertEqual(response.status_code, 201) self.assertEqual(response.data['resources']['ldp:contains'][0]['@id'], "http://testserver/resources/{}/".format(resource.pk)) + self.assertEqual(response.data['title'], "new job") def test_embedded_context_2(self): body = {