From 8bc4a10dbe6235571ab8399bbcc41d2cfb9b89aa Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 29 Jul 2015 20:14:28 +0200 Subject: [PATCH] fix unit tests --- tests/lib/setup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/setup.php b/tests/lib/setup.php index 8900d492b66..d07eaa40ee0 100644 --- a/tests/lib/setup.php +++ b/tests/lib/setup.php @@ -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();