From 4490422601824d920de5f9d6e3df0897dec0b414 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 1 Sep 2014 11:15:08 +0200 Subject: fix tests --- tests/unit/config/AppConfigTest.php | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'tests/unit/config/AppConfigTest.php') diff --git a/tests/unit/config/AppConfigTest.php b/tests/unit/config/AppConfigTest.php index 470442bc5..9053c6cbd 100644 --- a/tests/unit/config/AppConfigTest.php +++ b/tests/unit/config/AppConfigTest.php @@ -32,12 +32,11 @@ class AppConfigTest extends \PHPUnit_Framework_TestCase { ->getMock(); $phpVersion = '5.3'; $ownCloudVersion = '6.0.3'; - $installedApps = ['contacts' => '5.3', 'calendar' => '2.3']; $installedExtensions = ['curl' => '4.3']; $databaseType = 'oracle'; $this->config = new AppConfig($this->nav, $this->l10n, - $this->url, $phpVersion, $ownCloudVersion, $installedApps, + $this->url, $phpVersion, $ownCloudVersion, $installedExtensions, $databaseType); } @@ -157,22 +156,6 @@ class AppConfigTest extends \PHPUnit_Framework_TestCase { } - /** - * @expectedException \OCA\News\Config\DependencyException - */ - public function testAppVersion() { - $this->config->loadConfig([ - 'dependencies' => [ - 'apps' => [ - 'contacts' => '5.3', - 'calendar' => '>2.3' - ] - ] - ]); - $this->config->testDependencies(); - } - - /** * @expectedException \OCA\News\Config\DependencyException */ @@ -203,20 +186,6 @@ class AppConfigTest extends \PHPUnit_Framework_TestCase { } - /** - * @expectedException \OCA\News\Config\DependencyException - */ - public function testAppsExistence() { - $this->config->loadConfig([ - 'dependencies' => [ - 'apps' => [ - 'news' => '>=4.3,<=4.3' - ] - ] - ]); - $this->config->testDependencies(); - } - /** * @expectedException \OCA\News\Config\DependencyException -- cgit v1.2.3