summaryrefslogtreecommitdiffstats
path: root/tests/test_content_types.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_content_types.py')
-rw-r--r--tests/test_content_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_content_types.py b/tests/test_content_types.py
index 85259543..64599ef6 100644
--- a/tests/test_content_types.py
+++ b/tests/test_content_types.py
@@ -369,7 +369,7 @@ class CoreApiTests(object):
def test_validate_token_belongs_to(self):
token = self.get_scoped_token()
path = ('/v2.0/tokens/%s?belongsTo=%s'
- % (token, self.tenant_bar['name']))
+ % (token, self.tenant_bar['id']))
r = self.admin_request(path=path,token=token)
self.assertValidAuthenticationResponse(r,
require_service_catalog=True)