Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 026da8b

Browse filesBrowse files
committed
Merge branch '5.2' into 5.x
* 5.2: Fix tests Fix applyVersion tests [Notifier][Free Mobile] Fix wrong scheme in mapping
2 parents ee901c3 + e05b8ef commit 026da8b
Copy full SHA for 026da8b

File tree

3 files changed

+5
-5
lines changed
Filter options

3 files changed

+5
-5
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/Tests/VersionStrategy/JsonManifestVersionStrategyTest.php
+2-2Lines 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()

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Asset/Tests/VersionStrategy/RemoteJsonManifestVersionStrategyTest.php
+2-2Lines 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()

‎src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Exception/UnsupportedSchemeException.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class UnsupportedSchemeException extends LogicException
5858
'class' => Bridge\Firebase\FirebaseTransportFactory::class,
5959
'package' => 'symfony/firebase-notifier',
6060
],
61-
'free-mobile' => [
61+
'freemobile' => [
6262
'class' => Bridge\FreeMobile\FreeMobileTransportFactory::class,
6363
'package' => 'symfony/free-mobile-notifier',
6464
],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.