Contao\CoreBundle\Test\Composer\ScriptHandlerTest::testGeneratesNoRandomSecretWithoutFileConfig PHP Method

testGeneratesNoRandomSecretWithoutFileConfig() public method

Tests that no secret is generated if there is no configuration file.
    public function testGeneratesNoRandomSecretWithoutFileConfig()
    {
        $this->assertRandomSecretDoesNotExist();
        $this->handler->generateRandomSecret($this->getComposerEvent([]));
        $this->assertRandomSecretDoesNotExist();
        $this->handler->generateRandomSecret($this->getComposerEvent(['incenteev-parameters' => []]));
        $this->assertRandomSecretDoesNotExist();
    }