From 805af9338a51188471a42d586e90efde2595a3d9 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 22 Jun 2015 17:33:32 -0400 Subject: [PATCH] Fix index test spec --- test/specs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),