Skip to content

Commit 824b006

Browse files
committed
minor #1356 [TwigComponent] Adding missing filter call in docs (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Adding missing filter call in docs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | None | License | MIT Commits ------- 615c402 [TwigComponent] Adding missing filter call in docs
2 parents d0c201d + 615c402 commit 824b006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ You can test how your component is mounted and rendered using the
980980
$this->assertStringContainsString('bar', $rendered);
981981

982982
// use the crawler
983-
$this->assertCount(5, $rendered->crawler('ul li'));
983+
$this->assertCount(5, $rendered->crawler->filter('ul li'));
984984
}
985985

986986
public function testEmbeddedComponentRenders(): void

0 commit comments

Comments
 (0)