mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
Silverstripe easy test
This commit is contained in:
parent
1577e974d1
commit
c4797a678c
15
test.php
Normal file
15
test.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
ini_set('display_errors', 1);
|
||||||
|
ini_set('display_startup_errors', 1);
|
||||||
|
error_reporting(E_ALL);
|
||||||
|
|
||||||
|
require_once('vendor/autoload.php');
|
||||||
|
require_once('framework/core/Constants.php');
|
||||||
|
|
||||||
|
require_once('app/code/Tasks/TestServer.php');
|
||||||
|
|
||||||
|
$req = new \SilverStripe\Control\NullHTTPRequest();
|
||||||
|
|
||||||
|
$t = new \Site\Tests\TestServer();
|
||||||
|
$t->run($req);
|
Loading…
Reference in New Issue
Block a user