silverstripe-webpack/test.php
2022-03-15 20:48:57 +02:00

16 lines
372 B
PHP

<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once('vendor/autoload.php');
//require_once('vendor/silverstripe/framework/src/Core/Constants.php');
require_once('app/src/Tests/TestServer.php');
$req = new \SilverStripe\Control\NullHTTPRequest();
$t = new \A2nt\CMSNiceties\Tests\TestServer();
$t->run($req);