Add PromiseKit dependency
- Added PromiseKit dependency
This commit is contained in:
12
Carthage/Checkouts/PromiseKit/Extensions/Photos/Tests/PHPhototLibraryTests.swift
vendored
Normal file
12
Carthage/Checkouts/PromiseKit/Extensions/Photos/Tests/PHPhototLibraryTests.swift
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import PromiseKit
|
||||
import PMKPhotos
|
||||
import Photos
|
||||
import XCTest
|
||||
|
||||
class PHTestCase: XCTestCase {
|
||||
func test() {
|
||||
let ex = expectation(description: "")
|
||||
PHPhotoLibrary.requestAuthorization().done{ _ in ex.fulfill() }
|
||||
waitForExpectations(timeout: 10)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user