Fix more graphql tests
This commit is contained in:
parent
0f98199c85
commit
2404352f3c
3 changed files with 11 additions and 11 deletions
|
@ -1457,15 +1457,14 @@ trait Base
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
case self::$CREATE_DEPLOYMENT:
|
case self::$CREATE_DEPLOYMENT:
|
||||||
return 'mutation createDeployment($functionId: String!, $entrypoint: String!, $code: InputFile!, $activate: Boolean!) {
|
return 'mutation createDeployment($functionId: String!, $code: InputFile!, $activate: Boolean!) {
|
||||||
functionsCreateDeployment(functionId: $functionId, entrypoint: $entrypoint, code: $code, activate: $activate) {
|
functionsCreateDeployment(functionId: $functionId, code: $code, activate: $activate) {
|
||||||
_id
|
_id
|
||||||
buildId
|
buildId
|
||||||
entrypoint
|
entrypoint
|
||||||
size
|
size
|
||||||
status
|
status
|
||||||
buildStdout
|
buildLogs
|
||||||
buildStderr
|
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
case self::$DELETE_DEPLOYMENT:
|
case self::$DELETE_DEPLOYMENT:
|
||||||
|
@ -1479,7 +1478,8 @@ trait Base
|
||||||
functionsGetExecution(functionId: $functionId, executionId: $executionId) {
|
functionsGetExecution(functionId: $functionId, executionId: $executionId) {
|
||||||
_id
|
_id
|
||||||
status
|
status
|
||||||
stderr
|
logs
|
||||||
|
errors
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
case self::$GET_EXECUTIONS:
|
case self::$GET_EXECUTIONS:
|
||||||
|
@ -1489,16 +1489,18 @@ trait Base
|
||||||
executions {
|
executions {
|
||||||
_id
|
_id
|
||||||
status
|
status
|
||||||
stderr
|
logs
|
||||||
|
errors
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
case self::$CREATE_EXECUTION:
|
case self::$CREATE_EXECUTION:
|
||||||
return 'mutation createExecution($functionId: String!, $data: String, $async: Boolean) {
|
return 'mutation createExecution($functionId: String!, $body: String, $async: Boolean) {
|
||||||
functionsCreateExecution(functionId: $functionId, data: $data, async: $async) {
|
functionsCreateExecution(functionId: $functionId, body: $body, async: $async) {
|
||||||
_id
|
_id
|
||||||
status
|
status
|
||||||
stderr
|
logs
|
||||||
|
errors
|
||||||
}
|
}
|
||||||
}';
|
}';
|
||||||
case self::$DELETE_EXECUTION:
|
case self::$DELETE_EXECUTION:
|
||||||
|
|
|
@ -88,7 +88,6 @@ class FunctionsClientTest extends Scope
|
||||||
'query' => $query,
|
'query' => $query,
|
||||||
'variables' => [
|
'variables' => [
|
||||||
'functionId' => $function['_id'],
|
'functionId' => $function['_id'],
|
||||||
'entrypoint' => 'index.php',
|
|
||||||
'activate' => true,
|
'activate' => true,
|
||||||
'code' => null,
|
'code' => null,
|
||||||
]
|
]
|
||||||
|
|
|
@ -86,7 +86,6 @@ class FunctionsServerTest extends Scope
|
||||||
'query' => $query,
|
'query' => $query,
|
||||||
'variables' => [
|
'variables' => [
|
||||||
'functionId' => $function['_id'],
|
'functionId' => $function['_id'],
|
||||||
'entrypoint' => 'index.php',
|
|
||||||
'activate' => true,
|
'activate' => true,
|
||||||
'code' => null,
|
'code' => null,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue