mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
19 lines
401 B
PHP
19 lines
401 B
PHP
<?php
|
|
|
|
/**
|
|
* @mixin PHPUnit_Framework_TestCase
|
|
*/
|
|
class DevCheckControllerTest extends SapphireTest
|
|
{
|
|
protected $usesDatabase = true;
|
|
|
|
public function testIndexCreatesChecker()
|
|
{
|
|
$controller = new DevCheckController();
|
|
|
|
$request = new SS_HTTPRequest('GET', 'example.com');
|
|
|
|
$this->assertInstanceOf('EnvironmentChecker', $controller->index($request));
|
|
}
|
|
}
|