ShopConfigurationService example

/** * @internal * * @package system-settings */
class ShopConfigurationServiceTest extends TestCase
{
    use IntegrationTestBehaviour;

    public function testUpdateShop(): void
    {
        $service = new ShopConfigurationService();

        $connection = $this->getContainer()->get(Connection::class);

        $service->updateShop([
            'name' => 'test-shop',
            'locale' => 'de-DE',
            'currency' => 'USD',
            'additionalCurrencies' => ['EUR', 'CHF'],
            'country' => 'DEU',
            'email' => 'test@test.com',
            'host' => 'localhost',
            
Home | Imprint | This part of the site doesn't use cookies.