Skip to content

Commit b4d9d29

Browse files
Remove calls to TestCase::iniSet() and calls to deprecated methods of MockBuilder
1 parent 1987f86 commit b4d9d29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Command/Descriptor/HtmlDescriptorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testItOutputsStylesAndScriptsOnFirstDescribeCall()
4545

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

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

5151
/**

0 commit comments

Comments
 (0)