Skip to content

Commit b163ea7

Browse files
crazytonylimokagio
andauthored
Use mainContext instead of contextManager.mainContext
Co-authored-by: Gio Lodi <giovanni.lodi42@gmail.com>
1 parent 55b1682 commit b163ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/WordPressTest/ReaderStreamViewControllerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import XCTest
55
class ReaderStreamViewControllerTests: CoreDataTestCase {
66
// Tests that a ReaderStreamViewController is returned
77
func testControllerWithTopic() {
8-
let context = contextManager.mainContext
8+
let context = mainContext
99
let topic = NSEntityDescription.insertNewObject(forEntityName: "ReaderTagTopic", into: context) as! ReaderTagTopic
1010
topic.path = "foo"
1111

0 commit comments

Comments
 (0)