Skip to content

Commit

Permalink
Update assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli committed Feb 27, 2024
1 parent 6b7533b commit ca871d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WordPress/WordPressTest/PeopleServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class PeopleServiceTests: CoreDataTestCase {
done()
},
failure: { error in
XCTAssertTrue(error is WordPressComRestApiEndpointError)
XCTAssertTrue(error is WordPressAPIError<WordPressComRestApiEndpointError>)
done()
}
)
Expand Down Expand Up @@ -212,7 +212,7 @@ class PeopleServiceTests: CoreDataTestCase {
done()
},
failure: { error in
XCTAssertTrue(error is WordPressComRestApiEndpointError)
XCTAssertTrue(error is WordPressAPIError<WordPressComRestApiEndpointError>)
done()
}
)
Expand Down

0 comments on commit ca871d8

Please sign in to comment.