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

testGeneratesRandomSecretArray() public method

Tests generating a random secret with an array of configuration files.
    public function testGeneratesRandomSecretArray()
    {
        $this->assertRandomSecretDoesNotExist();
        $this->handler->generateRandomSecret($this->getComposerEvent(['incenteev-parameters' => [['file' => __DIR__ . '/../Fixtures/app/config/parameters.yml'], ['file' => __DIR__ . '/../Fixtures/app/config/test.yml']]]));
        $this->assertRandomSecretIsValid();
    }