diff --git a/composer.lock b/composer.lock index e3a016ba3e..5d0ee7be32 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "12d4da6b26d9f15f632cd681a837e026", + "content-hash": "7cb5852653a858c1846543914c20f87f", "packages": [ { "name": "adhocore/jwt", diff --git a/tests/e2e/Services/Account/AccountBase.php b/tests/e2e/Services/Account/AccountBase.php index 291d55b221..e64cf2c4ca 100644 --- a/tests/e2e/Services/Account/AccountBase.php +++ b/tests/e2e/Services/Account/AccountBase.php @@ -346,7 +346,7 @@ trait AccountBase */ public function testGetAccountLogs($data): array { - sleep(10); + sleep(5); $session = $data['session'] ?? ''; $sessionId = $data['sessionId'] ?? ''; $userId = $data['id'] ?? ''; diff --git a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php index 5c537b1f53..9e4ab09caf 100644 --- a/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php +++ b/tests/e2e/Services/Projects/ProjectsConsoleClientTest.php @@ -589,7 +589,7 @@ class ProjectsConsoleClientTest extends Scope /** * @group smtpAndTemplates - * @depends testCreateProject */ + * @depends testUpdateProject */ public function testUpdateTemplates($data): array { $id = $data['projectId']; @@ -602,7 +602,7 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertEquals('Account Verification', $response['body']['subject']); - $this->assertEquals('Project Test Team', $response['body']['senderName']); + $this->assertEquals('Project Test 2 Team', $response['body']['senderName']); $this->assertEquals('team@appwrite.io', $response['body']['senderEmail']); $this->assertEquals('verification', $response['body']['type']); $this->assertEquals('en-us', $response['body']['locale']); @@ -752,7 +752,6 @@ class ProjectsConsoleClientTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); // Check session doesn't expire too soon. - sleep(30); // Get User