fix unit tests

This commit is contained in:
Morris Jobke 2015-07-29 20:14:28 +02:00
parent 5ed38a75d6
commit 8bc4a10dbe

View file

@ -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();