Skip to content

Commit efdba9e

Browse files
committed
fix test
1 parent b5b38d7 commit efdba9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/UtilsTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ public function testTestValidSSHKey(bool $expected, string $key)
8383

8484
public static function URLComponentProvider()
8585
{
86-
if (CONFIG["site"]["prefix"] != "http://127.0.0.1:8000") {
87-
throw new RuntimeException("site prefix has changed!");
86+
if (CONFIG["site"]["url"] != "http://127.0.0.1:8000/") {
87+
throw new RuntimeException("site url has changed!");
8888
}
8989
return [
90-
[["", ""], "http://127.0.0.1:8000"],
90+
[["", ""], "http://127.0.0.1:8000/"],
9191
[["", "/"], "http://127.0.0.1:8000/"],
9292
[["/", "a"], "http://127.0.0.1:8000/a"],
9393
[["/", "/a"], "http://127.0.0.1:8000/a"],

0 commit comments

Comments
 (0)