csvxml/tests/StartPageTest.php

34 lines
566 B
PHP
Raw Permalink Normal View History

<?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;
/**
* Test class for the start page.
*/
final class StartPageTest extends TestCase {
/**
* Test for HTML output.
*
* @return void
*/
public function testHTMLOutput():void {
include __DIR__ . "/../public/index.php";
$output = $this->getActualOutput();
self::assertIsString($output);
ob_clean();
}
}