Fassung 1.7.0: verlässliche Installation, übersichtliche Verwaltung und bedienbare Bewegung
This commit is contained in:
1 parent
b164c4edfe
commit
495b26896e
55 files changed
+1632
-423
No files matched your search
@@ -67,7 +67,7 @@ final class InstallFlowTest extends TestCase
|
||||
$database = $this->request('/install/datenbank');
|
||||
$response = $this->submit('/install/datenbank', $database, ['driver' => 'sqlite', 'name' => 'cms']);
|
||||
self::assertSame('/install/migration', $response->headers->get('Location'));
|
||||
$environment = (string) file_get_contents($this->root.'/.env.local');
|
||||
$environment = (string) file_get_contents($this->root.'/.env');
|
||||
self::assertStringContainsString('DATABASE_URL="sqlite:///%kernel.project_dir%/var/cms.db"', $environment);
|
||||
self::assertStringContainsString('APP_ENV="prod"', $environment);
|
||||
|
||||
@@ -115,7 +115,7 @@ final class InstallFlowTest extends TestCase
|
||||
// And a form without a valid signature changes nothing: the page comes back, unchanged.
|
||||
$response = $this->request('/install/datenbank', 'POST', ['driver' => 'sqlite', 'name' => 'cms', 'issued' => time(), 'signature' => 'erfunden']);
|
||||
self::assertSame(200, $response->getStatusCode());
|
||||
self::assertFileDoesNotExist($this->root.'/.env.local');
|
||||
self::assertFileDoesNotExist($this->root.'/.env');
|
||||
}
|
||||
|
||||
/** Posts a form with the signature the rendered page carries, the way a browser would. */
|
||||
|
||||
Reference in new issue
Block a user