diff --git a/tests/e2e/utils/src/flows/with-rest-api.js b/tests/e2e/utils/src/flows/with-rest-api.js index 349c7d22218..d99c5262c2f 100644 --- a/tests/e2e/utils/src/flows/with-rest-api.js +++ b/tests/e2e/utils/src/flows/with-rest-api.js @@ -276,7 +276,7 @@ export const withRestApi = { getSystemEnvironment: async () => { const response = await client.get( systemStatusEndpoint ); if ( response.data.environment ) { - return response.data.environment + return response.data.environment; } else { return; }