Skip to content

Commit

Permalink
OEL-2082: Only the assert interface methods should be public.
Browse files Browse the repository at this point in the history
  • Loading branch information
brummbar committed Nov 7, 2022
1 parent d6eb5e4 commit 61ef012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/PatternAssertion/GalleryPatternAssert.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function assertBaseElements(string $html, string $variant): void {
* @param \Symfony\Component\DomCrawler\Crawler $crawler
* The DomCrawler where to check the element.
*/
public function assertTitleTag(string $expected, Crawler $crawler): void {
protected function assertTitleTag(string $expected, Crawler $crawler): void {
$this->assertElementExists($expected . '.mb-4.bcl-heading', $crawler);
}

Expand All @@ -76,7 +76,7 @@ public function assertTitleTag(string $expected, Crawler $crawler): void {
* @param \Symfony\Component\DomCrawler\Crawler $crawler
* The DomCrawler where to check the element.
*/
public function assertItems(array $expected, Crawler $crawler): void {
protected function assertItems(array $expected, Crawler $crawler): void {
$expected_visible = array_slice($expected, 0, 5);
$expected_hidden = array_slice($expected, 5);

Expand Down

0 comments on commit 61ef012

Please sign in to comment.