浏览代码

Update UtilityTest.php

Mark Sch 6 年之前
父节点
当前提交
6242560dc7
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tests/TestCase/Utility/UtilityTest.php

+ 3 - 3
tests/TestCase/Utility/UtilityTest.php

@@ -245,10 +245,10 @@ class UtilityTest extends TestCase {
 	 * @return void
 	 */
 	public function testUrlExists() {
-		$res = Utility::urlExists('http://www.spiegel.de');
+		$res = Utility::urlExists('https://www.spiegel.de');
 		$this->assertTrue($res);
 
-		$res = Utility::urlExists('http://www.spiegel.de/some/inexistent.img');
+		$res = Utility::urlExists('https://www.spiegel.de/some/inexistent.img');
 		$this->assertFalse($res);
 	}
 
@@ -309,7 +309,7 @@ class UtilityTest extends TestCase {
 		$this->assertSame('http://spiegel.de', $res);
 
 		$res = Utility::cleanUrl('spiegel.de', true);
-		$this->assertSame('http://www.spiegel.de', $res);
+		$this->assertSame('https://www.spiegel.de', $res);
 	}
 
 	/**