Skip to content

Commit 43be4ac

Browse files
test(high performance setup): patch url rewrite
1 parent 70a3111 commit 43be4ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/RRPproxy/ClientTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ public function testUseHighPerformanceConnectionSetup(): void
688688
$oldurl = self::$cl->getURL();
689689
$hostname = parse_url($oldurl, PHP_URL_HOST);
690690
$newurl = str_replace($hostname, "127.0.0.1", $oldurl);
691+
$newurl = str_replace("https://", "http://", $newurl);
691692
self::$cl->useHighPerformanceConnectionSetup();
692693
$this->assertEquals(self::$cl->getURL(), $newurl);
693694
}

0 commit comments

Comments
 (0)