File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Asset/Tests/VersionStrategy
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ public function testApplyVersion()
30
30
{
31
31
$ strategy = $ this ->createStrategy ('https://cdn.example.com/manifest-valid.json ' );
32
32
33
- $ this ->assertSame ('css/styles.555def.css ' , $ strategy ->getVersion ('css/styles.css ' ));
33
+ $ this ->assertSame ('css/styles.555def.css ' , $ strategy ->applyVersion ('css/styles.css ' ));
34
34
}
35
35
36
36
public function testApplyVersionWhenKeyDoesNotExistInManifest ()
37
37
{
38
38
$ strategy = $ this ->createStrategy ('https://cdn.example.com/manifest-valid.json ' );
39
39
40
- $ this ->assertSame ('css/other.css ' , $ strategy ->getVersion ('css/other.css ' ));
40
+ $ this ->assertSame ('css/other.css ' , $ strategy ->applyVersion ('css/other.css ' ));
41
41
}
42
42
43
43
public function testMissingManifestFileThrowsException ()
You can’t perform that action at this time.
0 commit comments