From 83887b09b647bdb416dfe403bf1c8c8c177be73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Mon, 11 May 2026 12:47:53 +0200 Subject: [PATCH] Improve project get tests --- tests/e2e/Services/Project/ProjectConsoleClientTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/e2e/Services/Project/ProjectConsoleClientTest.php b/tests/e2e/Services/Project/ProjectConsoleClientTest.php index 389e4d800a..a4c8b73efc 100644 --- a/tests/e2e/Services/Project/ProjectConsoleClientTest.php +++ b/tests/e2e/Services/Project/ProjectConsoleClientTest.php @@ -63,6 +63,8 @@ class ProjectConsoleClientTest extends Scope $this->assertSame(200, $response['headers']['status-code']); $this->assertSame($project['body']['$id'], $response['body']['$id']); + $this->assertNotEmpty($response['body']['$createdAt']); + $this->assertNotEmpty($response['body']['$updatedAt']); $this->assertSame('Get Project', $response['body']['name']); $this->assertSame($team['body']['$id'], $response['body']['teamId']); $this->assertSame('active', $response['body']['status']); @@ -110,6 +112,7 @@ class ProjectConsoleClientTest extends Scope $this->assertIsArray($response['body']['labels']); $this->assertIsArray($response['body']['devKeys']); $this->assertSame(0, $response['body']['pingCount']); + $this->assertSame('', $response['body']['pingedAt']); // Ensure old flattened fields are not present $this->assertArrayNotHasKey('description', $response['body']);