Files
Jot/Carthage/Checkouts/PromiseKit/Extensions/Photos/Tests/PHPhototLibraryTests.swift
James Griffin be7b6b5881 Add PromiseKit dependency
- Added PromiseKit dependency
2018-11-15 22:12:39 -04:00

13 lines
280 B
Swift

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)
}
}