Skip to content

Commit

Permalink
Update unit test dependencies Fix OAuthSwift#447
Browse files Browse the repository at this point in the history
Fix hashing test
  • Loading branch information
phimage committed Mar 24, 2018
1 parent a9ddbf1 commit d072ae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OAuthSwiftTests/SignTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SignTests: XCTestCase {
let string = "Hello World!"
let data = string.data(using: String.Encoding.utf8)!

guard let hash = OAuthSwiftCredential.SignatureMethod.HMAC_SHA1.sign(data: data) else {
guard let hash = OAuthSwiftHashMethod.sha1.hash(data: data) else {
XCTFail("Failed to hash")
return
}
Expand Down
7 changes: 4 additions & 3 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use_frameworks!

target 'OAuthSwiftTests' do
platform :osx, '10.10'
platform :osx, '10.11'

pod 'Swifter'
pod 'Erik'
pod 'Swifter', :git => 'https://github.com/httpswift/swifter.git'
pod 'Erik', :git => 'https://github.com/phimage/Erik.git'
pod 'Kanna', :git => 'https://github.com/tid-kijyun/Kanna.git'

end

0 comments on commit d072ae9

Please sign in to comment.