mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 06:44:03 +01:00
25 lines
506 B
PHP
25 lines
506 B
PHP
<?php
|
|
|
|
namespace Roundcube\Tests\Public;
|
|
|
|
use Roundcube\Tests\ServerTestCase;
|
|
|
|
/**
|
|
* Test class to test installer.php
|
|
*/
|
|
class InstallerTest extends ServerTestCase
|
|
{
|
|
/**
|
|
* Test installer.php
|
|
*/
|
|
public function testInstaller(): void
|
|
{
|
|
$response = $this->request('GET', 'installer.php/');
|
|
|
|
$body = (string) $response->getBody();
|
|
|
|
$this->assertSame(200, $response->getStatusCode());
|
|
$this->assertTrue(str_starts_with($body, '<!DOCTYPE html>'));
|
|
}
|
|
}
|