From 7cc97d4210cfdb198b31fd1f165b9a7b72081505 Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Wed, 4 Feb 2026 18:05:28 +0530 Subject: [PATCH] fix test --- tests/unit/Transformation/TransformationTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/Transformation/TransformationTest.php b/tests/unit/Transformation/TransformationTest.php index 6f37ddf0c8..8e15020770 100644 --- a/tests/unit/Transformation/TransformationTest.php +++ b/tests/unit/Transformation/TransformationTest.php @@ -58,8 +58,8 @@ class TransformationTest extends TestCase ->transform(); $domain = $transformer->getOutput(); $this->assertStringNotContainsString('/', $domain); - $this->assertStringStartsWith('branch-feature-test-', $domain->getOutput()); - $this->assertStringEndsWith('.appwrite.network', $domain->getOutput()); + $this->assertStringStartsWith('branch-feature-test-', $domain); + $this->assertStringEndsWith('.appwrite.network', $domain); // Branch domain consistency $transformer @@ -149,7 +149,6 @@ class TransformationTest extends TestCase ]) ->setTraits([]) ->transform(); - $transformer->transform(); $domain = $transformer->getOutput(); $this->assertStringStartsWith('branch-release-2024-01-', $domain); $this->assertStringEndsWith('.appwrite.network', $domain);