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 {
33
33
else {return $ stdout ;}
34
34
}
35
35
36
- /** Test: On HTTPS */
37
- public function test_on_https (): void {
36
+ /** Test: HTTP Request */
37
+ public function test_on_http (): void {
38
38
$ payload = json_encode ( self ::$ json_data );
39
39
$ request = new ServerRequest ('POST ' , '/ ' , [], $ payload );
40
40
$ response = CloudFunctions::on_https ( $ request );
41
41
// $this->assertTrue($response->getReasonPhrase().equals("OK"));
42
42
$ this ->assertTrue ($ response ->getStatusCode () == 200 );
43
43
}
44
44
45
- /** Test: On Pub/Sub Event */
45
+ /** Test: Pub/Sub Event */
46
46
public function test_on_pubsub (): void {
47
47
CloudFunctions::on_pubsub (new CloudEventImmutable (
48
48
uniqId (), // id
@@ -54,7 +54,7 @@ public function test_on_pubsub(): void {
54
54
self ::assertTrue ( true );
55
55
}
56
56
57
- /** Test: On GCS Event */
57
+ /** Test: Cloud Storage Event */
58
58
public function test_on_gcs (): void {
59
59
CloudFunctions::on_gcs (new CloudEventImmutable (
60
60
uniqId (), // id
You can’t perform that action at this time.
0 commit comments