Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit bad387c

Browse files
committed
Update tests
1 parent 30563e2 commit bad387c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/WordPressKitTests/Tests/RemoteReaderPostTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ - (void)testFeaturedImageFromDictionary {
209209
uri, uri, uri]
210210
};
211211
imagePath = [remoteReaderPost featuredImageFromPostDictionary:dict];
212-
XCTAssertTrue([uri isEqualToString:imagePath], @"Failed to retrieve the image uri from the post content.");
212+
XCTAssertTrue(imagePath.length == 0, @"No image should be retrieved from the content");
213213

214214
dict = [self editorialDictionaryWithKey:@"image" value:uri];
215215
imagePath = [remoteReaderPost featuredImageFromPostDictionary:dict];

0 commit comments

Comments
 (0)