@@ -225,7 +225,7 @@ public function testInitializeAdyenClientInDemoMode(): void
225225
226226 $ this ->platformInfo
227227 ->method ('getMagentoDetails ' )
228- ->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' ]);
228+ ->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' , ' edition ' => ' Community ' ]);
229229
230230 $ this ->scopeConfig
231231 ->method ('getValue ' )
@@ -607,7 +607,7 @@ public function testInitializeAdyenClientWithClientConfigMoto(): void
607607 ->willReturn ('9.0.0 ' );
608608 $ this ->platformInfo
609609 ->method ('getMagentoDetails ' )
610- ->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' ]);
610+ ->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' , ' edition ' => ' Community ' ]);
611611
612612 $ this ->scopeConfig
613613 ->method ('getValue ' )
@@ -828,7 +828,7 @@ public function testInitializeAdyenClientInLiveMode(): void
828828
829829 $ this ->platformInfo ->method ('getModuleName ' )->willReturn ('Adyen_Payment ' );
830830 $ this ->platformInfo ->method ('getModuleVersion ' )->willReturn ('9.0.0 ' );
831- $ this ->platformInfo ->method ('getMagentoDetails ' )->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' ]);
831+ $ this ->platformInfo ->method ('getMagentoDetails ' )->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' , ' edition ' => ' Community ' ]);
832832 $ this ->scopeConfig ->method ('getValue ' )->willReturn (null );
833833
834834 $ this ->configHelper ->method ('getLiveEndpointPrefix ' )->with ($ storeId )->willReturn ($ livePrefix );
@@ -853,7 +853,7 @@ public function testInitializeAdyenClientWithClientConfigNonMoto(): void
853853
854854 $ this ->platformInfo ->method ('getModuleName ' )->willReturn ('Adyen_Payment ' );
855855 $ this ->platformInfo ->method ('getModuleVersion ' )->willReturn ('9.0.0 ' );
856- $ this ->platformInfo ->method ('getMagentoDetails ' )->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' ]);
856+ $ this ->platformInfo ->method ('getMagentoDetails ' )->willReturn (['name ' => 'Magento ' , 'version ' => '2.4.6 ' , ' edition ' => ' Community ' ]);
857857 $ this ->scopeConfig ->method ('getValue ' )->willReturn (null );
858858
859859 $ client = $ this ->dataHelper ->initializeAdyenClientWithClientConfig ([
0 commit comments