csvxml/tests/startPageTest.php
Joshua Ramon Enslin 688ba604a8 Use static calls for assertions in tests
phpcs-errors:226 phpunit-status:successful phpstan-errors:202
2020-08-29 14:10:01 +02:00

30 lines
493 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();
self::assertEquals(
true,
is_string($output)
);
ob_clean();
}
}