getConfigGetCommand example


#[Package('system-settings')] class ConfigGetCommandTest extends TestCase
{
    private ConfigGet $configGetCommand;

    protected function setUp(): void
    {
        $this->configGetCommand = $this->getConfigGetCommand();
    }

    /** * @dataProvider configFormatJsonProvider */
    public function testConfigGetJson(string $key, string $format, string $output): void
    {
        $commandOutput = $this->executeCommand($key$format);
        static::assertJsonStringEqualsJsonString($commandOutput$output);
    }

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