summaryrefslogtreecommitdiffstats
path: root/tests/unit/config
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-01 11:15:08 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-01 11:15:08 +0200
commit4490422601824d920de5f9d6e3df0897dec0b414 (patch)
tree08d8541bf26d3cca726605ff2f4b86adb5396095 /tests/unit/config
parente76ba69f66d49320005054dbf5cad477c252ed31 (diff)
fix tests
Diffstat (limited to 'tests/unit/config')
-rw-r--r--tests/unit/config/AppConfigTest.php33
1 files changed, 1 insertions, 32 deletions
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);
}
@@ -160,22 +159,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
- */
public function testLibsVersion() {
$this->config->loadConfig([
'dependencies' => [
@@ -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