minor #39485 [Asset] Fix tests (jderusse)

This PR was merged into the 4.4 branch.

Discussion
----------

[Asset] Fix tests

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

d651fb539c Fix tests
This commit is contained in:
Fabien Potencier 2020-12-14 08:01:17 +01:00
commit 3ebcc28fab
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'); $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() public function testApplyVersionWhenKeyDoesNotExistInManifest()
{ {
$strategy = $this->createStrategy('manifest-valid.json'); $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() public function testMissingManifestFileThrowsException()