diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index c50a15fd3f..51e8322544 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -937,7 +937,7 @@ class UsageTest extends Scope $this->assertEquals(201, $response['headers']['status-code']); $this->assertNotEmpty($response['body']['$id']); - $this->assertEquals($functionId, $response['body']['functionId']); + $this->assertEquals($functionId, $response['body']['resourceId']); $executionTime += (int) ($response['body']['duration'] * 1000); @@ -961,7 +961,7 @@ class UsageTest extends Scope $this->assertEquals(201, $response['headers']['status-code']); $this->assertNotEmpty($response['body']['$id']); - $this->assertEquals($functionId, $response['body']['functionId']); + $this->assertEquals($functionId, $response['body']['resourceId']); if ($response['body']['status'] == 'failed') { $failures += 1; @@ -984,7 +984,7 @@ class UsageTest extends Scope $this->assertEquals(202, $response['headers']['status-code']); $this->assertNotEmpty($response['body']['$id']); - $this->assertEquals($functionId, $response['body']['functionId']); + $this->assertEquals($functionId, $response['body']['resourceId']); sleep(self::WAIT);