Skip to content

Commit 6be8e59

Browse files
author
Christian Elies
committed
test(remote image): fixed tests
1 parent 64e52c6 commit 6be8e59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/RemoteImageTests/Views/RemoteImageTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ final class RemoteImageTests: XCTestCase {
2727

2828
do {
2929
let inspectableView = try view.body.inspect()
30-
let group = try inspectableView.group().first
31-
let textString = try group?.text().string()
30+
let text = try inspectableView.text()
31+
let textString = try text.string()
3232
XCTAssertEqual(textString, loadingStateViewString)
3333
} catch {
3434
XCTFail("\(error)")

0 commit comments

Comments
 (0)