2018-05-03 11:01:18 +12:00

20 lines
337 B
PHP

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