diff --git a/src/main/scala/code/api/oauth1.0.scala b/src/main/scala/code/api/oauth1.0.scala index 51280fe83..990e7a5b6 100644 --- a/src/main/scala/code/api/oauth1.0.scala +++ b/src/main/scala/code/api/oauth1.0.scala @@ -277,7 +277,7 @@ object OAuthHandshake extends RestHelper with Loggable { case _ => secret+= "&" } logger.info("base string: " + baseString) - //signing process + //signing process // TODO default to HmacSHA256? val signingAlgorithm : String = if(OAuthparameters.get("oauth_signature_method").get.toLowerCase == "hmac-sha256") "HmacSHA256" else diff --git a/src/test/scala/code/api/v2_1_0/TransactionRequestsTest.scala b/src/test/scala/code/api/v2_1_0/TransactionRequestsTest.scala index 0dd6713cf..9737f93fb 100644 --- a/src/test/scala/code/api/v2_1_0/TransactionRequestsTest.scala +++ b/src/test/scala/code/api/v2_1_0/TransactionRequestsTest.scala @@ -201,7 +201,7 @@ class TransactionRequestsTest extends ServerSetupWithTestData with DefaultUsers def checkAllGetTransResBodyField(getTransactionResponse: APIResponse, withChellenge: Boolean): Unit = { Then("we should get a 200 created code") (getTransactionResponse.code) should equal(200) - And("we should get the body sie is one") + And("we should get the body size is one") (getTransactionResponse.body.children.size) should equal(1) if (withChellenge) { And("we should get None, there is no transaction yet") @@ -879,7 +879,7 @@ class TransactionRequestsTest extends ServerSetupWithTestData with DefaultUsers Then("We checked all the fields of getTransResponse body") helper.checkAllGetTransResBodyField(getTransResponse, false) - When("We checked all the data in database, we need check the account amout info") + When("We checked all the data in database, we need check the account amount info") helper.checkBankAccountBalance(true) } }