Skip to content

Commit

Permalink
Remove calls to TestCase::iniSet() and calls to deprecated methods …
Browse files Browse the repository at this point in the history
…of `MockBuilder`
  • Loading branch information
alexandre-daubois committed May 6, 2024
1 parent 1987f86 commit b4d9d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Command/Descriptor/HtmlDescriptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function testItOutputsStylesAndScriptsOnFirstDescribeCall()

$descriptor->describe($output, new Data([[123]]), ['timestamp' => 1544804268.3668], 1);

$this->assertStringNotMatchesFormat('<style>%A</style><script>%A</script>%A', $output->fetch(), 'styles & scripts are output only once');
$this->assertDoesNotMatchRegularExpression('#<style>(.*?)</style><script>(.*?)</script>(.*)#', $output->fetch(), 'styles & scripts are output only once');
}

/**
Expand Down

0 comments on commit b4d9d29

Please sign in to comment.