From 01ae076235b2b3c7ad636778620dcd31a97ed892 Mon Sep 17 00:00:00 2001 From: Prem Palanisamy Date: Wed, 13 May 2026 21:07:56 +0100 Subject: [PATCH] Pass dbForPlatform and projectInternalId in Appwrite destination test ctor --- .../Migration/Unit/Destinations/AppwriteDestinationDsnTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Migration/Unit/Destinations/AppwriteDestinationDsnTest.php b/tests/Migration/Unit/Destinations/AppwriteDestinationDsnTest.php index e6e9e4d8f9..fa22151c17 100644 --- a/tests/Migration/Unit/Destinations/AppwriteDestinationDsnTest.php +++ b/tests/Migration/Unit/Destinations/AppwriteDestinationDsnTest.php @@ -71,6 +71,8 @@ class AppwriteDestinationDsnTest extends TestCase dbForProject: $this->createStub(UtopiaDatabase::class), getDatabasesDB: fn (UtopiaDocument $database): UtopiaDatabase => $this->createStub(UtopiaDatabase::class), collectionStructure: ['attributes' => [], 'indexes' => []], + dbForPlatform: $this->createStub(UtopiaDatabase::class), + projectInternalId: '1', onDuplicate: OnDuplicate::Fail, getDatabaseDSN: $getDatabaseDSN, );