silverstripe-environmentcheck/tests/DevCheckControllerTest.php
Christopher Pitt 53aafd97ba Made supported
2015-09-14 09:12:12 +12:00

15 lines
332 B
PHP

<?php
/**
* @mixin PHPUnit_Framework_TestCase
*/
class DevCheckControllerTest extends SapphireTest {
public function testIndexCreatesChecker() {
$controller = new DevCheckController();
$request = new SS_HTTPRequest('GET', 'example.com');
$this->assertInstanceOf('EnvironmentChecker', $controller->index($request));
}
}