Gush\Tests\ConfigTest::testCreateEmptyConfigWithDefaults PHP Method

testCreateEmptyConfigWithDefaults() public method

    public function testCreateEmptyConfigWithDefaults()
    {
        $config = $this->createConfig();
        $this->assertEquals(['adapters' => [], 'home' => $this->homedir . '/gush', 'home_config' => $this->homedir . '/gush/.gush.yml'], $config->toArray(Config::CONFIG_ALL));
        $this->assertEquals(['adapters' => []], $config->toArray(Config::CONFIG_SYSTEM));
        $this->assertEquals([], $config->toArray(Config::CONFIG_LOCAL));
    }