diff --git a/djangoldp_circle/tests/tests_cache.py b/djangoldp_circle/tests/tests_cache.py index a5c16fd933dbc1801057d9cf24dd846385838057..01b317242d9707840978200ad64ff7128b4092b9 100644 --- a/djangoldp_circle/tests/tests_cache.py +++ b/djangoldp_circle/tests/tests_cache.py @@ -34,7 +34,7 @@ class CacheTestCase(APITestCase): self.assertEqual(response.status_code, 200) self.assertEqual(len(response.data['ldp:contains']), 1) - body = {'http://happy-dev.fr/owl/#user_set': [{"@id": another_user.urlid}]} + body = {'https://cdn.startinblox.com/owl#user_set': [{"@id": another_user.urlid}]} response = self.client.patch('/groups/{}/'.format(self.circle.members.pk), data=json.dumps(body), content_type='application/ld+json') self.assertEqual(response.status_code, 200) diff --git a/djangoldp_circle/tests/tests_permissions.py b/djangoldp_circle/tests/tests_permissions.py index 04d14a8f39e7ad4d767e82c4bb5859472024381b..929d99d7912a4fdcf66975dbc5626dfb445419f3 100644 --- a/djangoldp_circle/tests/tests_permissions.py +++ b/djangoldp_circle/tests/tests_permissions.py @@ -27,7 +27,7 @@ class PermissionsTestCase(APITestCase): def _get_request_json(self, **kwargs): res = { '@context': { - '@vocab': "http://happy-dev.fr/owl/#", + '@vocab': "https://cdn.startinblox.com/owl#", 'rdf': "http://www.w3.org/1999/02/22-rdf-syntax-ns#", 'rdfs': "http://www.w3.org/2000/01/rdf-schema#", 'ldp': "http://www.w3.org/ns/ldp#", @@ -36,14 +36,14 @@ class PermissionsTestCase(APITestCase): 'acl': "http://www.w3.org/ns/auth/acl#", 'permissions': "acl:accessControl", 'mode': "acl:mode", - 'inbox': "http://happy-dev.fr/owl/#inbox", - 'object': "http://happy-dev.fr/owl/#object", - 'author': "http://happy-dev.fr/owl/#author", - 'account': "http://happy-dev.fr/owl/#account", + 'inbox': "https://cdn.startinblox.com/owl#inbox", + 'object': "https://cdn.startinblox.com/owl#object", + 'author': "https://cdn.startinblox.com/owl#author", + 'account': "https://cdn.startinblox.com/owl#account", 'jabberID': "foaf:jabberID", 'picture': "foaf:depiction", - 'firstName': "http://happy-dev.fr/owl/#first_name", - 'lastName': "http://happy-dev.fr/owl/#last_name" + 'firstName': "https://cdn.startinblox.com/owl#first_name", + 'lastName': "https://cdn.startinblox.com/owl#last_name" } } diff --git a/djangoldp_circle/tests/tests_post.py b/djangoldp_circle/tests/tests_post.py index dd3056e31d019eccd790bef37a6d04bfe44abd7e..f70e49500d7a0c8fb0736afd4ba3dc1a5e555a0c 100644 --- a/djangoldp_circle/tests/tests_post.py +++ b/djangoldp_circle/tests/tests_post.py @@ -23,7 +23,7 @@ class PostTestCase(APITestCase): "description":"\n", "help":"", "@context": { - "@vocab":"http://happy-dev.fr/owl/#", + "@vocab":"https://cdn.startinblox.com/owl#", "rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdfs":"http://www.w3.org/2000/01/rdf-schema#", "ldp":"http://www.w3.org/ns/ldp#", @@ -36,10 +36,10 @@ class PostTestCase(APITestCase): "geo":"http://www.w3.org/2003/01/geo/wgs84_pos#", "lat":"geo:lat", "lng":"geo:long", - "inbox":"http://happy-dev.fr/owl/#inbox", - "object":"http://happy-dev.fr/owl/#object", - "author":"http://happy-dev.fr/owl/#author", - "account":"http://happy-dev.fr/owl/#account", + "inbox":"https://cdn.startinblox.com/owl#inbox", + "object":"https://cdn.startinblox.com/owl#object", + "author":"https://cdn.startinblox.com/owl#author", + "account":"https://cdn.startinblox.com/owl#account", "jabberID":"foaf:jabberID", "picture":"foaf:depiction" } @@ -55,7 +55,7 @@ class PostTestCase(APITestCase): body = { "description": "\n", "@context": { - "@vocab": "http://happy-dev.fr/owl/#", + "@vocab": "https://cdn.startinblox.com/owl#", # notice the missing context # "description":"rdfs:comment", }