This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
about-brochure/tests/startPageTest.php
Joshua Ramon Enslin ace247fc35 Set up environment for CI
phpcs-errors:0 phpunit-status:successful
2019-11-12 22:32:37 +01:00

30 lines
494 B
PHP

<?PHP
/**
* This script contains tests for the home page.
*
* @author Joshua Ramon Enslin <joshua@jrenslin.de>
*/
declare(strict_types=1);
// phpcs:disable
use PHPUnit\Framework\TestCase;
final class StartPageTest extends TestCase {
public function testHTMLOutput():void {
include __DIR__ . "/../index.php";
$output = $this->getActualOutput();
$this->assertEquals(
true,
is_string($output)
);
ob_clean();
}
}