mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-26 19:31:13 +01:00
WIP: Xcode 8 beta 6
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
//
|
||||
|
||||
import XCTest
|
||||
import GCDKit
|
||||
|
||||
@testable
|
||||
import CoreStore
|
||||
@@ -97,7 +96,7 @@ final class FetchTests: BaseTestDataTestCase {
|
||||
XCTAssertEqual(existing1!.objectID, object.objectID)
|
||||
XCTAssertEqual(existing1!.managedObjectContext, transaction.context)
|
||||
|
||||
GCDQueue.main.async {
|
||||
DispatchQueue.main.async {
|
||||
|
||||
let existing2 = stack.fetchExisting(existing1!)
|
||||
XCTAssertNotNil(existing2)
|
||||
@@ -204,7 +203,7 @@ final class FetchTests: BaseTestDataTestCase {
|
||||
|
||||
XCTAssertEqual(object.managedObjectContext, transaction.context)
|
||||
}
|
||||
GCDQueue.main.async {
|
||||
DispatchQueue.main.async {
|
||||
|
||||
let existing2 = stack.fetchExisting(existing1)
|
||||
XCTAssertEqual(
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
//
|
||||
|
||||
import XCTest
|
||||
import GCDKit
|
||||
|
||||
@testable
|
||||
import CoreStore
|
||||
@@ -651,7 +650,7 @@ final class TransactionTests: BaseTestCase {
|
||||
|
||||
transaction.delete(object)
|
||||
|
||||
GCDQueue.main.async {
|
||||
DispatchQueue.main.async {
|
||||
|
||||
XCTAssertEqual(stack.fetchCount(From<TestEntity1>()), 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user