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

18 lines
300 B
PHP

<?php
/**
* @mixin PHPUnit_Framework_TestCase
*/
class DatabaseCheckTest extends SapphireTest {
public function testCheckReportsValidConnection() {
$check = new DatabaseCheck();
$expected = array(
EnvironmentCheck::OK,
'',
);
$this->assertEquals($expected, $check->check());
}
}