From ceaeeae729fcf923a9fc55f6d3a2ab510033fb82 Mon Sep 17 00:00:00 2001 From: Florin Lipan Date: Wed, 31 Jan 2018 22:57:47 +0100 Subject: [PATCH] Fix test_exchange_client_credentials_with_basic_auth after merging #25 --- tests/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib.rs b/tests/lib.rs index c8cfcc17..6c7bd6fa 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -147,7 +147,7 @@ fn test_exchange_client_credentials_with_form_response() { fn test_exchange_client_credentials_with_basic_auth() { let mock = mock("POST", "/token") .match_header("Authorization", "Basic YWFhOmJiYg==") // base64("aaa:bbb") - .match_body("grant_type=client_credentials") + .match_body("grant_type=client_credentials&scope=") .with_body("access_token=12%2F34&token_type=bearer&scope=read,write") .create();