Browse Source

Update UtilityTest.php

Mark Sch 6 years ago
parent
commit
6242560dc7
1 changed files with 3 additions and 3 deletions
  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
 	 * @return void
 	 */
 	 */
 	public function testUrlExists() {
 	public function testUrlExists() {
-		$res = Utility::urlExists('http://www.spiegel.de');
+		$res = Utility::urlExists('https://www.spiegel.de');
 		$this->assertTrue($res);
 		$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);
 		$this->assertFalse($res);
 	}
 	}
 
 
@@ -309,7 +309,7 @@ class UtilityTest extends TestCase {
 		$this->assertSame('http://spiegel.de', $res);
 		$this->assertSame('http://spiegel.de', $res);
 
 
 		$res = Utility::cleanUrl('spiegel.de', true);
 		$res = Utility::cleanUrl('spiegel.de', true);
-		$this->assertSame('http://www.spiegel.de', $res);
+		$this->assertSame('https://www.spiegel.de', $res);
 	}
 	}
 
 
 	/**
 	/**