diff --git a/WordPress/WordPressTest/PeopleServiceTests.swift b/WordPress/WordPressTest/PeopleServiceTests.swift index 4530c7a922a5..0addd821dc2c 100644 --- a/WordPress/WordPressTest/PeopleServiceTests.swift +++ b/WordPress/WordPressTest/PeopleServiceTests.swift @@ -79,7 +79,7 @@ class PeopleServiceTests: CoreDataTestCase { done() }, failure: { error in - XCTAssertTrue(error is WordPressComRestApiEndpointError) + XCTAssertTrue(error is WordPressAPIError) done() } ) @@ -212,7 +212,7 @@ class PeopleServiceTests: CoreDataTestCase { done() }, failure: { error in - XCTAssertTrue(error is WordPressComRestApiEndpointError) + XCTAssertTrue(error is WordPressAPIError) done() } )