Skip to content

Commit 1be7159

Browse files
authored
Update TestComponentMixins.php (#17)
1 parent 963d5d1 commit 1be7159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mixins/TestComponentMixins.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TestComponentMixins
1313
public function assertableHtml(): Closure
1414
{
1515
return function (int $options = LIBXML_HTML_NOIMPLIED, ?string $overrideEncoding = null): AssertableDocument {
16-
return AssertableDocument::createFromString((string) $this->rendered, $options, $overrideEncoding);
16+
return AssertableDocument::createFromString((string) $this, $options, $overrideEncoding);
1717
};
1818
}
1919

0 commit comments

Comments
 (0)