Skip to content

Commit 6c6351f

Browse files
authored
Allow no data for http_get mock
1 parent 03ef3f2 commit 6c6351f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/phpunit-bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function http_post(string $phpfile, array $post_data): void
9090
}
9191
}
9292

93-
function http_get(string $phpfile, array $get_data): void
93+
function http_get(string $phpfile, array $get_data = array()): void
9494
{
9595
global $CONFIG, $REDIS, $LDAP, $SQL, $MAILER, $WEBHOOK, $GITHUB, $SITE, $SSO, $OPERATOR, $USER, $SEND_PIMESG_TO_ADMINS, $LOC_HEADER, $LOC_FOOTER;
9696
$_PREVIOUS_SERVER = $_SERVER;

0 commit comments

Comments
 (0)