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.
2 parents 9d90300 + 1387134 commit 9bdbd7aCopy full SHA for 9bdbd7a
Tests/CompiledAssetMapperConfigReaderTest.php
@@ -54,7 +54,7 @@ public function testLoadConfig()
54
public function testSaveConfig()
55
{
56
$reader = new CompiledAssetMapperConfigReader($this->writableRoot);
57
- $this->assertEquals($this->writableRoot.'/foo.json', $reader->saveConfig('foo.json', ['foo' => 'bar']));
+ $this->assertEquals($this->writableRoot.\DIRECTORY_SEPARATOR.'foo.json', realpath($reader->saveConfig('foo.json', ['foo' => 'bar'])));
58
$this->assertEquals(['foo' => 'bar'], json_decode(file_get_contents($this->writableRoot.'/foo.json'), true));
59
}
60
0 commit comments