Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/YOURLS/YOURLS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorjaas666 <30204147+jaas666@users.noreply.github.com>2022-02-21 19:20:37 +0300
committerGitHub <noreply@github.com>2022-02-21 19:20:37 +0300
commit74a4ab64b5ca50f9310dd4ff4915ef5c62dbb664 (patch)
tree238f7913bb9c1788883297556a7e2dd12a3956f1 /tests
parent3c16d7ec37055b4ae68ff26e7fa354717f950c45 (diff)
Updated default links from 'http' to 'https' (#3229)
* Updated default links from 'http' to 'https' * Updated unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/tests/shorturl/misc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/shorturl/misc.php b/tests/tests/shorturl/misc.php
index ab1a708d..16307a4a 100644
--- a/tests/tests/shorturl/misc.php
+++ b/tests/tests/shorturl/misc.php
@@ -25,7 +25,7 @@ class ShortURL_Misc_Tests extends PHPUnit\Framework\TestCase {
}
public function test_url_exists() {
- $exists = yourls_long_url_exists( 'http://ozh.org/' );
+ $exists = yourls_long_url_exists( 'https://ozh.org/' );
$this->assertEquals( 'ozh', $exists->keyword );
$this->assertNull( yourls_long_url_exists( rand_str() ) );
}