Skip to content

Commit

Permalink
Merge pull request #40 from electricimp/develop
Browse files Browse the repository at this point in the history
updated tests to use uppercase methods for all HTTP requests
  • Loading branch information
betzrhodes authored Oct 21, 2019
2 parents 2f3b0ab + 7876105 commit 426eca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Core.nut
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class Core extends ImpTestCase {
for (local i = 0; i < numberOfRequests; i++) {
local method = params.methodOverride != null ? params.methodOverride : params.method;
if (typeof method == "string") {
method = method.tolower();
method = method.toupper();
}
local signature = typeof params.signatureOverride == "string" ? params.signatureOverride : params.signature;
local req = http.request(
Expand Down

0 comments on commit 426eca7

Please sign in to comment.