File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testBumpLastLoginApi()
1616 $ this ->http_post (
1717 __DIR__ . "/../../webroot/lan/api/bump-last-login.php " ,
1818 [],
19- query_parameters : ["uid " => $ USER ->uid ],
19+ query_params : ["uid " => $ USER ->uid ],
2020 bearer_token: "phpunit_api_key " ,
2121 );
2222 $ new_timestamp_year = date ("Y " , $ SQL ->getUserLastLogin ($ USER ->uid ));
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ function assertNoWarningErrorMessages()
559559 function http_post (
560560 string $ phpfile ,
561561 array $ post_data ,
562- array $ query_parameters = [],
562+ array $ query_params = [],
563563 bool $ do_generate_csrf_token = true ,
564564 bool $ do_validate_messages = true ,
565565 ?string $ bearer_token = null ,
@@ -588,7 +588,7 @@ function http_post(
588588 $ post_data ["csrf_token " ] = CSRFToken::generate ();
589589 }
590590 $ _POST = $ post_data ;
591- $ _GET = $ query_parameters ;
591+ $ _GET = $ query_params ;
592592 ob_start ();
593593 try {
594594 $ post_did_redirect_or_die = false ;
You can’t perform that action at this time.
0 commit comments