File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1111use Adyen \Service \LegalEntityManagement \TermsOfServiceApi ;
1212use Adyen \Service \LegalEntityManagement \TransferInstrumentsApi ;
1313use function PHPUnit \Framework \assertEquals ;
14+ use Adyen \Environment ;
1415
1516class LegalEntityManagementTest extends TestCaseMock
1617{
@@ -74,4 +75,15 @@ public function testUpdateTransferInstrument()
7475 );
7576 assertEquals ('auLocal ' , $ response ->getBankAccount ()->getAccountIdentification ()->getType ());
7677 }
78+
79+ public function testRequestPeriodicReview ()
80+ {
81+ $ client = $ this ->createMockClientUrl (null , Environment::TEST );
82+ $ service = new LegalEntitiesApi ($ client );
83+ $ service ->requestPeriodicReview ('LE322JV223222F5GVGMLNB83F ' );
84+ self ::assertEquals (
85+ 'https://kyc-test.adyen.com/lem/v4/legalEntities/LE322JV223222F5GVGMLNB83F/requestPeriodicReview ' ,
86+ $ this ->requestUrl
87+ );
88+ }
7789}
You can’t perform that action at this time.
0 commit comments