Skip to content

Commit da2164b

Browse files
author
ace-n
committed
Fix failing DeployTest
1 parent 0aa7a64 commit da2164b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/slack_slash_command/test/DeployTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function testFunction(
5151
): void {
5252
$response = $this->client->request(
5353
$method,
54-
'/',
54+
'',
5555
['headers' => $headers, 'body' => $body]
5656
);
5757
$this->assertEquals($statusCode, $response->getStatusCode());
@@ -68,7 +68,7 @@ protected static function deployFlags(array $flags = []): array
6868
$envVars = 'SLACK_SECRET=' . getenv('SLACK_SECRET') . ',';
6969
$envVars .= 'KG_API_KEY=' . getenv('KG_API_KEY');
7070

71-
$flags['--update-env-vars'] = $envVars;
71+
$flags['--update-env-vars'] = '"' . $envVars . '"';
7272
return $flags;
7373
}
7474
}

0 commit comments

Comments
 (0)