Skip to content

Commit c43df32

Browse files
committed
[CLEANUP] Fix tests after removing Rule::getValues
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent 06814c5 commit c43df32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/ParserTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@ public function unicodeParsing(): void
182182
continue;
183183
}
184184
$aContentRules = $oRuleSet->getRules('content');
185-
$aContents = $aContentRules[0]->getValues();
186-
$sString = $aContents[0][0]->__toString();
185+
$sString = $aContentRules[0]->getValue()->__toString();
187186
if ($sSelector == '.test-1') {
188187
self::assertSame('" "', $sString);
189188
}

0 commit comments

Comments
 (0)