Move public files to /public subdirectory

phpcs-errors:221 phpunit-status:successful phpstan-errors:0
This commit is contained in:
jrenslin authored and stefan committed 2020-10-31 00:00:26 +01:00
1 parent 00f1c4f423
commit d56601b0cc
19 files changed
+62 -30

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
<?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 CsvTest extends TestCase {
/**
* Test for HTML output.
*
* @return void
*/
public function testHTMLOutput():void {
include __DIR__ . "/../public/csv.php";
$output = $this->getActualOutput();
self::assertIsString($output);
ob_clean();
}
}