[Routing] fixed indentation of dumped collections
This commit is contained in:
parent
1489021552
commit
562174a822
@ -41,8 +41,6 @@ class PhpMatcherDumperTest extends \PHPUnit_Framework_TestCase
|
|||||||
$basePath = __DIR__.'/../../Fixtures/dumper/';
|
$basePath = __DIR__.'/../../Fixtures/dumper/';
|
||||||
|
|
||||||
$dumper = new PhpMatcherDumper($collection);
|
$dumper = new PhpMatcherDumper($collection);
|
||||||
|
|
||||||
file_put_contents('/tmp/' . $fixture, $dumper->dump($options));
|
|
||||||
$this->assertStringEqualsFile($basePath.$fixture, $dumper->dump($options), '->dump() correctly dumps routes as optimized PHP code.');
|
$this->assertStringEqualsFile($basePath.$fixture, $dumper->dump($options), '->dump() correctly dumps routes as optimized PHP code.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user