We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6636e commit afd9366Copy full SHA for afd9366
src/network/token_provider.rs
@@ -192,9 +192,9 @@ mod tests {
192
when.method(POST)
193
.path(endpoint)
194
.header("Accept", "application/json")
195
- .x_www_form_urlencoded_tuple("reponse_type", "cloud_iam")
196
- .x_www_form_urlencoded_tuple("grant_type", "urn:ibm:params:oauth:grant-type:apikey")
197
- .x_www_form_urlencoded_tuple("apikey", apikey);
+ .form_urlencoded_tuple("reponse_type", "cloud_iam")
+ .form_urlencoded_tuple("grant_type", "urn:ibm:params:oauth:grant-type:apikey")
+ .form_urlencoded_tuple("apikey", apikey);
198
then.status(200)
199
.header("content-type", "application/json")
200
.json_body(serde_json::json!(
0 commit comments