This commit is contained in:
fogelito committed 2026-07-07 09:17:35 +03:00
1 parent 8c50a32f9e
commit 27a894e77d
1 file changed
+2 -2
@@ -836,7 +836,7 @@ final class ProjectsConsoleClientTest extends Scope
$this->assertEquals(201, $response['headers']['status-code']);
$id = $response['body']['$id'];
// Increase ping 3x
// Ping 3x; only the first is recorded, so pingCount stays at 1
for ($i = 0; $i < 3; $i++) {
$response = $this->client->call(
Client::METHOD_GET,
@@ -1113,7 +1113,7 @@ final class ProjectsConsoleClientTest extends Scope
$this->assertSame('', $response['body']['smtpUsername']);
$this->assertSame('', $response['body']['smtpPassword']); // Write only
$this->assertSame('', $response['body']['smtpSecure']);
$this->assertSame(3, $response['body']['pingCount']);
$this->assertSame(1, $response['body']['pingCount']);
$this->assertIsString($response['body']['pingedAt']);
$this->assertNotEmpty($response['body']['pingedAt']);