From 7e0e3371348c685e5e64c112ed92786b8a0d4482 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 4 Aug 2014 15:27:08 +0100 Subject: [PATCH] Fixed grant password fuzz test --- tests/fuzz/grant-password.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/fuzz/grant-password.yml b/tests/fuzz/grant-password.yml index 63b0628b..96bcfbea 100644 --- a/tests/fuzz/grant-password.yml +++ b/tests/fuzz/grant-password.yml @@ -30,7 +30,7 @@ request: body.message: "Client authentication failed." - key: username - value: alex + value: alexbilbie missing: response.statusCode: 400 headers.content-type: "application/json" @@ -39,8 +39,8 @@ request: invalid: response.statusCode: 401 headers.content-type: "application/json" - body.error: invalid_client - body.message: "Client authentication failed." + body.error: invalid_credentials + body.message: "The user credentials were incorrect." - key: password value: whisky @@ -52,8 +52,8 @@ request: invalid: response.statusCode: 401 headers.content-type: "application/json" - body.error: invalid_client - body.message: "Client authentication failed." + body.error: invalid_credentials + body.message: "The user credentials were incorrect." - key: grant_type value: password