SystemConfigController example

use Symfony\Component\HttpFoundation\Response;

/** * @internal * * @covers \Shopware\Core\System\SystemConfig\Api\SystemConfigController */
class SystemConfigControllerTest extends TestCase
{
    public function testCheckConfigurationEmptyDomain(): void
    {
        $controller = new SystemConfigController(
            $this->createMock(ConfigurationService::class),
            $this->createMock(SystemConfigService::class),
            $this->createMock(SystemConfigValidator::class)
        );

        $request = new Request();

        $context = Context::createDefaultContext();

        $result = $controller->checkConfiguration($request$context);

        
Home | Imprint | This part of the site doesn't use cookies.