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

Skip to content

Commit fe40ddb

Browse files
committed
Fix applyVersion tests
1 parent 7c7366a commit fe40ddb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public function testApplyVersion()
3030
{
3131
$strategy = $this->createStrategy('https://cdn.example.com/manifest-valid.json');
3232

33-
$this->assertSame('css/styles.555def.css', $strategy->getVersion('css/styles.css'));
33+
$this->assertSame('css/styles.555def.css', $strategy->applyVersion('css/styles.css'));
3434
}
3535

3636
public function testApplyVersionWhenKeyDoesNotExistInManifest()
3737
{
3838
$strategy = $this->createStrategy('https://cdn.example.com/manifest-valid.json');
3939

40-
$this->assertSame('css/other.css', $strategy->getVersion('css/other.css'));
40+
$this->assertSame('css/other.css', $strategy->applyVersion('css/other.css'));
4141
}
4242

4343
public function testMissingManifestFileThrowsException()

0 commit comments

Comments
 (0)