mirror of
https://github.com/silverstripe/silverstripe-environmentcheck
synced 2024-10-22 17:05:40 +02:00
Use test database in database check test
This commit is contained in:
parent
e5651c429c
commit
250c8d2e00
@ -4,6 +4,8 @@
|
|||||||
* @mixin PHPUnit_Framework_TestCase
|
* @mixin PHPUnit_Framework_TestCase
|
||||||
*/
|
*/
|
||||||
class DatabaseCheckTest extends SapphireTest {
|
class DatabaseCheckTest extends SapphireTest {
|
||||||
|
protected $usesDatabase = true;
|
||||||
|
|
||||||
public function testCheckReportsValidConnection() {
|
public function testCheckReportsValidConnection() {
|
||||||
$check = new DatabaseCheck();
|
$check = new DatabaseCheck();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user