Skip to content

Commit

Permalink
Merge pull request #65 from uphold/enhancement/empty-message-transact…
Browse files Browse the repository at this point in the history
…ion-commit-request

Allow transaction commit request with empty message
  • Loading branch information
d-moreira authored Jan 16, 2018
2 parents 10267a1 + 148d015 commit 6ac2d2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Model/Transaction/TransactionCommitRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ open class TransactionCommitRequest: Mappable {
- parameter message: The transaction message.
- parameter securityCode: The transaction security code.
*/
public init(message: String, securityCode: String) {
public init(message: String?, securityCode: String) {
self.message = message
self.securityCode = securityCode
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/UnitTests/GlobalConfigurationProductionTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class GlobalConfigurationProductionTest: XCTestCase {
}

func testUpholdSdkVersionShouldReturnSdkVersion() {
XCTAssertEqual(GlobalConfigurations.UPHOLD_SDK_VERSION, "0.10s.0", "Failed: Wrong URL value.")
XCTAssertEqual(GlobalConfigurations.UPHOLD_SDK_VERSION, "0.11.0", "Failed: Wrong URL value.")
}

}

0 comments on commit 6ac2d2b

Please sign in to comment.