diff --git a/composer.lock b/composer.lock
index e6caf6b55be..69baab1becc 100644
--- a/composer.lock
+++ b/composer.lock
@@ -310,11 +310,11 @@
"yii2"
],
"support": {
- "forum": "http://www.yiiframework.com/forum/",
+ "forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/yii2-composer/issues",
"source": "https://github.com/yiisoft/yii2-composer",
- "wiki": "http://www.yiiframework.com/wiki/"
+ "wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
diff --git a/tests/framework/i18n/FormatterTest.php b/tests/framework/i18n/FormatterTest.php
index 83d4f884212..114079dcf33 100644
--- a/tests/framework/i18n/FormatterTest.php
+++ b/tests/framework/i18n/FormatterTest.php
@@ -215,7 +215,7 @@ public function testAsEmail()
public function testAsUrl()
{
- $value = 'http://www.yiiframework.com/';
+ $value = 'https://www.yiiframework.com/';
$this->assertSame("$value", $this->formatter->asUrl($value));
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => null]));
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => false]));
@@ -234,7 +234,7 @@ public function testAsUrl()
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => false]));
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => null]));
$this->assertSame(
- "$value",
+ "$value",
$this->formatter->asUrl($value, ['scheme' => 'http'])
);
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => 'https']));
@@ -245,12 +245,12 @@ public function testAsUrl()
$value = 'www.yiiframework.com/';
$this->assertSame(
- "$value",
+ "$value",
$this->formatter->asUrl($value)
);
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => false]));
$this->assertSame(
- "$value",
+ "$value",
$this->formatter->asUrl($value, ['scheme' => null])
);
$this->assertSame("$value", $this->formatter->asUrl($value, ['scheme' => 'http']));
@@ -268,7 +268,7 @@ public function testAsUrl()
$this->formatter->asUrl($value, ['scheme' => null])
);
$this->assertSame(
- "$value",
+ "$value",
$this->formatter->asUrl($value, ['scheme' => 'http'])
);
$this->assertSame(
@@ -297,7 +297,7 @@ public function testAsUrl()
$this->formatter->asUrl($value)
);
- $value = 'http://www.yiiframework.com/';
+ $value = 'https://www.yiiframework.com/';
$this->assertSame("$value",
$this->formatter->asUrl($value, ['target' => '_blank']));