diff --git a/test/specs.py b/test/specs.py index 8749a025e..f8a4e491b 100644 --- a/test/specs.py +++ b/test/specs.py @@ -160,8 +160,8 @@ def build_index_specs(): IndexTestSpec(url_for('registry.put_image_json', image_id=FAKE_IMAGE_ID), ORG_REPO, 403, 403, 403, 400).set_method('PUT'), - IndexTestSpec(url_for('index.create_user'), NO_REPO, 201, 201, 201, - 201).set_method('POST').set_data_from_obj(NEW_USER_DETAILS), + IndexTestSpec(url_for('index.create_user'), NO_REPO, 400, 400, 400, + 400).set_method('POST').set_data_from_obj(NEW_USER_DETAILS), IndexTestSpec(url_for('index.get_user'), NO_REPO, 404, 200, 200, 200),