silverstripe-webpack/test.php

16 lines
372 B
PHP
Raw Permalink Normal View History

2020-03-31 21:42:34 +02:00
<?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');
2020-03-31 21:42:34 +02:00
require_once('app/src/Tests/TestServer.php');
2020-03-31 21:42:34 +02:00
$req = new \SilverStripe\Control\NullHTTPRequest();
2022-03-15 19:48:57 +01:00
$t = new \A2nt\CMSNiceties\Tests\TestServer();
2020-03-31 21:42:34 +02:00
$t->run($req);