From 3d5c8b00536c419782e96d041089a337e41cacc3 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 19 Jul 2022 01:55:35 +0000 Subject: [PATCH] fix naming of keys --- tests/e2e/General/UsageTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/General/UsageTest.php b/tests/e2e/General/UsageTest.php index 5f91ad2a07..6f67b791cb 100644 --- a/tests/e2e/General/UsageTest.php +++ b/tests/e2e/General/UsageTest.php @@ -565,8 +565,8 @@ class UsageTest extends Scope $this->assertEquals($executions, $response['functionsExecutions'][array_key_last($response['functionsExecutions'])]['value']); $this->assertGreaterThan($compute, $response['functionsCompute'][array_key_last($response['functionsCompute'])]['value']); - $this->assertEquals($executionTime, $response['functionsExecutionTime'][array_key_last($response['functionsCompute'])]['value']); - $this->assertGreaterThan(0, $response['functionsBuildTime'][array_key_last($response['functionsCompute'])]['value']); + $this->assertEquals($executionTime, $response['functionsExecutionTime'][array_key_last($response['functionsExecutionTime'])]['value']); + $this->assertGreaterThan(0, $response['functionsBuildTime'][array_key_last($response['functionsBuildTime'])]['value']); $this->assertEquals($failures, $response['functionsFailures'][array_key_last($response['functionsFailures'])]['value']); }