From 02bba85fe78e76e85e213233de984e565e70ab60 Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Wed, 21 Jan 2026 12:21:37 +0530 Subject: [PATCH] updated migration tests for adding endpoint --- tests/e2e/Services/Migrations/MigrationsBase.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/e2e/Services/Migrations/MigrationsBase.php b/tests/e2e/Services/Migrations/MigrationsBase.php index 1ffae67383..e4371c57ff 100644 --- a/tests/e2e/Services/Migrations/MigrationsBase.php +++ b/tests/e2e/Services/Migrations/MigrationsBase.php @@ -1651,7 +1651,7 @@ trait MigrationsBase 'resources' => [ Resource::TYPE_DATABASE_DOCUMENTSDB, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -1713,7 +1713,7 @@ trait MigrationsBase 'resources' => [ Resource::TYPE_DATABASE_VECTORDB, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -1774,7 +1774,7 @@ trait MigrationsBase Resource::TYPE_COLLECTION, Resource::TYPE_ATTRIBUTE, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -1838,7 +1838,7 @@ trait MigrationsBase Resource::TYPE_ATTRIBUTE, Resource::TYPE_DOCUMENT, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -1908,7 +1908,7 @@ trait MigrationsBase Resource::TYPE_DATABASE_DOCUMENTSDB, Resource::TYPE_COLLECTION, // collections in DocumentsDB map to tables in migration ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -1975,7 +1975,7 @@ trait MigrationsBase Resource::TYPE_COLLECTION, Resource::TYPE_DOCUMENT, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $this->getProject()['$id'], 'apiKey' => $this->getProject()['apiKey'], ]); @@ -2310,7 +2310,7 @@ trait MigrationsBase Resource::TYPE_ATTRIBUTE, Resource::TYPE_INDEX, ], - 'endpoint' => 'http://localhost/v1', + 'endpoint' => $this->endpoint, 'projectId' => $sourceProject['$id'], 'apiKey' => $sourceProject['apiKey'], ];