From b786ae3aafff7ef397f441c836a6209fa3bd30c5 Mon Sep 17 00:00:00 2001 From: beppe Date: Thu, 16 Oct 2025 14:49:20 +0200 Subject: [PATCH] Enable test --- tests/Unit/BalancePlatformTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/Unit/BalancePlatformTest.php b/tests/Unit/BalancePlatformTest.php index 036ff0d0..1fb6cac1 100644 --- a/tests/Unit/BalancePlatformTest.php +++ b/tests/Unit/BalancePlatformTest.php @@ -57,8 +57,6 @@ public function testGetAccountHolderAdditionalAttributesDoesNotThrow() public function testGetAccountHolderUnknownEnum() { - $this->markTestSkipped('This test should be enable when enum parsing is fixed.'); - $client = $this->createMockClientUrl( 'tests/Resources/BalancePlatform/get-account-holder-unknown-enum.json' ); @@ -70,8 +68,9 @@ public function testGetAccountHolderUnknownEnum() self::assertEquals('AH3227C223222C5GXQXF658WB', $response->getId()); self::assertEquals(AccountHolder::STATUS_ACTIVE, $response->getStatus()); - self::assertEquals("pending", $response['capabilities']['receiveFromPlatformPayments']['verificationStatus']); + self::assertEquals("this is unknown", $response['capabilities']['receiveFromPlatformPayments']['verificationStatus']); } catch (\Throwable $e) { + // should not throw an exception $this->fail('An unexpected exception was thrown: ' . $e->getMessage()); } }