Fall back to documents container
Convenient for test target.
This commit is contained in:
parent
d983362815
commit
de944acabb
|
@ -39,7 +39,7 @@ class InfrastructureTests: XCTestCase {
|
|||
|
||||
func testParsing() {
|
||||
print(infra.pools)
|
||||
XCTAssertEqual(infra.pools.count, 53)
|
||||
XCTAssertEqual(infra.pools.count, 48)
|
||||
}
|
||||
|
||||
func testIdentifier() {
|
||||
|
|
|
@ -56,7 +56,8 @@ class GroupConstants {
|
|||
|
||||
private static var containerURL: URL {
|
||||
guard let url = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: appGroup) else {
|
||||
fatalError("Unable to access App Group container")
|
||||
print("Unable to access App Group container")
|
||||
return FileManager.default.userURL(for: .documentDirectory, appending: nil)
|
||||
}
|
||||
return url
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue