File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,16 @@ private static function get_project_id(): string {
3333 else {return $ stdout ;}
3434 }
3535
36- /** Test: On HTTPS */
37- public function test_on_https (): void {
36+ /** Test: HTTP Request */
37+ public function test_on_http (): void {
3838 $ payload = json_encode ( self ::$ json_data );
3939 $ request = new ServerRequest ('POST ' , '/ ' , [], $ payload );
4040 $ response = CloudFunctions::on_https ( $ request );
4141 // $this->assertTrue($response->getReasonPhrase().equals("OK"));
4242 $ this ->assertTrue ($ response ->getStatusCode () == 200 );
4343 }
4444
45- /** Test: On Pub/Sub Event */
45+ /** Test: Pub/Sub Event */
4646 public function test_on_pubsub (): void {
4747 CloudFunctions::on_pubsub (new CloudEventImmutable (
4848 uniqId (), // id
@@ -54,7 +54,7 @@ public function test_on_pubsub(): void {
5454 self ::assertTrue ( true );
5555 }
5656
57- /** Test: On GCS Event */
57+ /** Test: Cloud Storage Event */
5858 public function test_on_gcs (): void {
5959 CloudFunctions::on_gcs (new CloudEventImmutable (
6060 uniqId (), // id
You can’t perform that action at this time.
0 commit comments