From 83a34c0ef3be44248c096a7bfcab8af3965163f1 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 3 Feb 2014 18:30:06 -0500 Subject: [PATCH] Fix the few broken security tests after the error code fixes --- test/specs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/specs.py b/test/specs.py index e0a037655..0c44903b3 100644 --- a/test/specs.py +++ b/test/specs.py @@ -231,9 +231,9 @@ def build_specs(): TestSpec(url_for('api.get_webhook', repository=PUBLIC_REPO, public_id=FAKE_WEBHOOK), admin_code=403), TestSpec(url_for('api.get_webhook', repository=ORG_REPO, - public_id=FAKE_WEBHOOK), admin_code=400), + public_id=FAKE_WEBHOOK), admin_code=404), TestSpec(url_for('api.get_webhook', repository=PRIVATE_REPO, - public_id=FAKE_WEBHOOK), admin_code=400), + public_id=FAKE_WEBHOOK), admin_code=404), TestSpec(url_for('api.list_webhooks', repository=PUBLIC_REPO), admin_code=403), @@ -382,9 +382,9 @@ def build_specs(): TestSpec(url_for('api.get_tokens', repository=PUBLIC_REPO, code=FAKE_TOKEN), admin_code=403), TestSpec(url_for('api.get_tokens', repository=ORG_REPO, code=FAKE_TOKEN), - admin_code=400), + admin_code=404), TestSpec(url_for('api.get_tokens', repository=PRIVATE_REPO, - code=FAKE_TOKEN), admin_code=400), + code=FAKE_TOKEN), admin_code=404), TestSpec(url_for('api.create_token', repository=PUBLIC_REPO), admin_code=403).set_method('POST'),