From d651fb539cce21d2482a71099898bad98ffc18be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Sun, 13 Dec 2020 19:23:11 +0100 Subject: [PATCH] Fix tests --- .../Tests/VersionStrategy/JsonManifestVersionStrategyTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php b/src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php index ffcc62b995..7f2d44c4a2 100644 --- a/src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php +++ b/src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php @@ -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()