We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc53dd commit 478a031Copy full SHA for 478a031
src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php
@@ -91,10 +91,10 @@ public function testDumpWithTooManyRoutes()
91
}
92
$this->routeCollection->add('Test2', new Route('/testing2'));
93
94
- $data = $this->generatorDumper->dump(array(
+ file_put_contents($this->largeTestTmpFilepath, $this->generatorDumper->dump(array(
95
'class' => 'ProjectLargeUrlGenerator',
96
- ));
97
- file_put_contents($this->largeTestTmpFilepath, $data);
+ )));
+ $this->routeCollection = $this->generatorDumper = null;
98
include $this->largeTestTmpFilepath;
99
100
$projectUrlGenerator = new \ProjectLargeUrlGenerator(new RequestContext('/app.php'));
0 commit comments