Skip to content

Commit 986597b

Browse files
committed
do not use TestCase::getName() when possible
The method has been removed in PHPUnit 10.
1 parent 7289d3c commit 986597b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ protected function setUp(): void
5252

5353
$this->routeCollection = new RouteCollection();
5454
$this->generatorDumper = new CompiledUrlGeneratorDumper($this->routeCollection);
55-
$this->testTmpFilepath = sys_get_temp_dir().'/php_generator.'.$this->getName().'.php';
56-
$this->largeTestTmpFilepath = sys_get_temp_dir().'/php_generator.'.$this->getName().'.large.php';
55+
$this->testTmpFilepath = sys_get_temp_dir().'/php_generator.php';
56+
$this->largeTestTmpFilepath = sys_get_temp_dir().'/php_generator.large.php';
5757
@unlink($this->testTmpFilepath);
5858
@unlink($this->largeTestTmpFilepath);
5959
}

0 commit comments

Comments
 (0)