Contao\CoreBundle\Test\Composer\ScriptHandlerTest::testGeneratesRandomSecret PHP Метод

testGeneratesRandomSecret() публичный Метод

Tests generating a random secret.
    public function testGeneratesRandomSecret()
    {
        $this->assertRandomSecretDoesNotExist();
        $this->handler->generateRandomSecret($this->getComposerEvent(['incenteev-parameters' => ['file' => __DIR__ . '/../Fixtures/app/config/parameters.yml']]));
        $this->assertRandomSecretIsValid();
    }