Skip to content

Commit 6a32de2

Browse files
gcatanesegalesky-a
andauthored
Enable test (#830)
Co-authored-by: Leonardo Galesky <[email protected]>
1 parent 9f871f9 commit 6a32de2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Unit/BalancePlatformTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ public function testGetAccountHolderAdditionalAttributesDoesNotThrow()
5757

5858
public function testGetAccountHolderUnknownEnum()
5959
{
60-
$this->markTestSkipped('This test should be enable when enum parsing is fixed.');
61-
6260
$client = $this->createMockClientUrl(
6361
'tests/Resources/BalancePlatform/get-account-holder-unknown-enum.json'
6462
);
@@ -70,8 +68,9 @@ public function testGetAccountHolderUnknownEnum()
7068

7169
self::assertEquals('AH3227C223222C5GXQXF658WB', $response->getId());
7270
self::assertEquals(AccountHolder::STATUS_ACTIVE, $response->getStatus());
73-
self::assertEquals("pending", $response['capabilities']['receiveFromPlatformPayments']['verificationStatus']);
71+
self::assertEquals("this is unknown", $response['capabilities']['receiveFromPlatformPayments']['verificationStatus']);
7472
} catch (\Throwable $e) {
73+
// should not throw an exception
7574
$this->fail('An unexpected exception was thrown: ' . $e->getMessage());
7675
}
7776
}

0 commit comments

Comments
 (0)