diff --git a/tests/ParserTest.php b/tests/ParserTest.php index 81271a14..2c233c46 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -193,7 +193,7 @@ public function unicodeParsing(): void continue; } $contentRules = $ruleSet->getRules('content'); - $firstContentRuleAsString = $contentRules[0]->getValue()->__toString(); + $firstContentRuleAsString = $contentRules[0]->getValue()->render(OutputFormat::create()); if ($selector === '.test-1') { self::assertSame('" "', $firstContentRuleAsString); }