Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
bytehead committed Jan 16, 2022
1 parent e2174c9 commit c48ea1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-bundle/tests/Contao/RootPageDependentSelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public function testRendersMultipleSelects(): void
],
];

$widget = new RootPageDependentSelect(RootPageDependentSelect::getAttributesFromDca($fieldConfig, $fieldConfig['name']));

$expectedOutput =
<<<'OUTPUT'
<select
Expand Down Expand Up @@ -112,8 +114,6 @@ class="tl_select tl_chosen"

$minifiedExpectedOutput = preg_replace(['/\s\s|\n/', '/\s</'], ['', '<'], $expectedOutput);

$widget = new RootPageDependentSelect(RootPageDependentSelect::getAttributesFromDca($fieldConfig, $fieldConfig['name']));

$this->assertSame($minifiedExpectedOutput, $widget->generate());
}
}

0 comments on commit c48ea1b

Please sign in to comment.