Skip to content

Commit

Permalink
added comments to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DjoykeAbyah committed Jan 7, 2025
1 parent d1aa371 commit 348c954
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ public function testGetCloudEndpointForLiveEnvironment(?string $region, string $
}

/**
* Ensures an exception is thrown for unsupported region India in LIVE environment
*
* @throws \Adyen\AdyenException
*/
public function testUnmappedIndiaRegionThrowsException(): void
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/RegionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class RegionTest extends TestCase
{
/**
* Dynamically retrieves all region constants for comparison.
* Retrieves all region constants for comparison.
* Filters out non-string values to exclude mappings.
*
* @return array<string> A list of valid regions.
Expand All @@ -27,7 +27,7 @@ private function getRegionValues(): array

/**
* Tests that the list of valid regions matches the expected list.
* Compares the dynamically retrieved region constants with the expected list.
* Compares the retrieved region constants with the expected list.
*
* @return void
*/
Expand Down

0 comments on commit 348c954

Please sign in to comment.