Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ebcc28

Browse files
committed
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 ------- d651fb5 Fix tests
2 parents 4121f47 + d651fb5 commit 3ebcc28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ public function testApplyVersion()
2727
{
2828
$strategy = $this->createStrategy('manifest-valid.json');
2929

30-
$this->assertSame('css/styles.555def.css', $strategy->getVersion('css/styles.css'));
30+
$this->assertSame('css/styles.555def.css', $strategy->applyVersion('css/styles.css'));
3131
}
3232

3333
public function testApplyVersionWhenKeyDoesNotExistInManifest()
3434
{
3535
$strategy = $this->createStrategy('manifest-valid.json');
3636

37-
$this->assertSame('css/other.css', $strategy->getVersion('css/other.css'));
37+
$this->assertSame('css/other.css', $strategy->applyVersion('css/other.css'));
3838
}
3939

4040
public function testMissingManifestFileThrowsException()

0 commit comments

Comments
 (0)