1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00

Fix more graphql tests

This commit is contained in:
Jake Barnby 2023-08-19 01:59:36 -04:00
parent 0f98199c85
commit 2404352f3c
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
3 changed files with 11 additions and 11 deletions

View file

@ -1457,15 +1457,14 @@ trait Base
}
}';
case self::$CREATE_DEPLOYMENT:
return 'mutation createDeployment($functionId: String!, $entrypoint: String!, $code: InputFile!, $activate: Boolean!) {
functionsCreateDeployment(functionId: $functionId, entrypoint: $entrypoint, code: $code, activate: $activate) {
return 'mutation createDeployment($functionId: String!, $code: InputFile!, $activate: Boolean!) {
functionsCreateDeployment(functionId: $functionId, code: $code, activate: $activate) {
_id
buildId
entrypoint
size
status
buildStdout
buildStderr
buildLogs
}
}';
case self::$DELETE_DEPLOYMENT:
@ -1479,7 +1478,8 @@ trait Base
functionsGetExecution(functionId: $functionId, executionId: $executionId) {
_id
status
stderr
logs
errors
}
}';
case self::$GET_EXECUTIONS:
@ -1489,16 +1489,18 @@ trait Base
executions {
_id
status
stderr
logs
errors
}
}
}';
case self::$CREATE_EXECUTION:
return 'mutation createExecution($functionId: String!, $data: String, $async: Boolean) {
functionsCreateExecution(functionId: $functionId, data: $data, async: $async) {
return 'mutation createExecution($functionId: String!, $body: String, $async: Boolean) {
functionsCreateExecution(functionId: $functionId, body: $body, async: $async) {
_id
status
stderr
logs
errors
}
}';
case self::$DELETE_EXECUTION:

View file

@ -88,7 +88,6 @@ class FunctionsClientTest extends Scope
'query' => $query,
'variables' => [
'functionId' => $function['_id'],
'entrypoint' => 'index.php',
'activate' => true,
'code' => null,
]

View file

@ -86,7 +86,6 @@ class FunctionsServerTest extends Scope
'query' => $query,
'variables' => [
'functionId' => $function['_id'],
'entrypoint' => 'index.php',
'activate' => true,
'code' => null,
]