Fix tests

This commit is contained in:
Jérémy Derussé 2020-12-13 19:23:11 +01:00
parent 4121f47883
commit d651fb539c
No known key found for this signature in database
GPG Key ID: 2083FA5758C473D2
1 changed files with 2 additions and 2 deletions

View File

@ -27,14 +27,14 @@ class JsonManifestVersionStrategyTest extends TestCase
{
$strategy = $this->createStrategy('manifest-valid.json');
$this->assertSame('css/styles.555def.css', $strategy->getVersion('css/styles.css'));
$this->assertSame('css/styles.555def.css', $strategy->applyVersion('css/styles.css'));
}
public function testApplyVersionWhenKeyDoesNotExistInManifest()
{
$strategy = $this->createStrategy('manifest-valid.json');
$this->assertSame('css/other.css', $strategy->getVersion('css/other.css'));
$this->assertSame('css/other.css', $strategy->applyVersion('css/other.css'));
}
public function testMissingManifestFileThrowsException()