|
|
@@ -76,7 +76,7 @@ class Test_OC_Setup extends \Test\TestCase { |
|
|
|
$this->assertSame(array(), $result); |
|
|
|
} |
|
|
|
|
|
|
|
public function testGetSupportedDatabasesWitAllWorking() { |
|
|
|
public function testGetSupportedDatabasesWithAllWorking() { |
|
|
|
$this->config |
|
|
|
->expects($this->once()) |
|
|
|
->method('getSystemValue') |
|
|
@@ -88,7 +88,7 @@ class Test_OC_Setup extends \Test\TestCase { |
|
|
|
->method('class_exists') |
|
|
|
->will($this->returnValue(true)); |
|
|
|
$this->setupClass |
|
|
|
->expects($this->exactly(4)) |
|
|
|
->expects($this->exactly(3)) |
|
|
|
->method('is_callable') |
|
|
|
->will($this->returnValue(true)); |
|
|
|
$result = $this->setupClass->getSupportedDatabases(); |