mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Move $executionId
This commit is contained in:
@@ -112,7 +112,6 @@ class FunctionsScheduleTest extends Scope
|
||||
]
|
||||
]
|
||||
);
|
||||
$executionId = $execution['body']['$id'];
|
||||
|
||||
$this->assertEquals(202, $execution['headers']['status-code']);
|
||||
$this->assertEquals('scheduled', $execution['body']['status']);
|
||||
@@ -120,6 +119,8 @@ class FunctionsScheduleTest extends Scope
|
||||
$this->assertEquals('/custom-path', $execution['body']['requestPath']);
|
||||
$this->assertCount(0, $execution['body']['requestHeaders']);
|
||||
|
||||
$executionId = $execution['body']['$id'];
|
||||
|
||||
\sleep(120);
|
||||
|
||||
$this->assertEventually(function () use ($functionId, $executionId) {
|
||||
|
||||
Reference in New Issue
Block a user