summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-17 15:25:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-17 16:05:13 +0100
commit9dc3b0480228a3c35b3b7a7cb1a904006f7e0762 (patch)
treed432bd59aa7d4b87c14835b29973a0e829370e5c /tests
parentedee243b27f7d042998fd840d0b0f75548e3c489 (diff)
downloadnextcloud-server-9dc3b0480228a3c35b3b7a7cb1a904006f7e0762.tar.gz
nextcloud-server-9dc3b0480228a3c35b3b7a7cb1a904006f7e0762.zip
Fix app version to be always string and neither array nor null
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppTest.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/lib/AppTest.php b/tests/lib/AppTest.php
index d10ad387599..04729303847 100644
--- a/tests/lib/AppTest.php
+++ b/tests/lib/AppTest.php
@@ -310,19 +310,6 @@ class AppTest extends \Test\TestCase {
}
/**
- * Test that the isAppCompatible method also supports passing an array
- * as $ocVersion
- */
- public function testIsAppCompatibleWithArray() {
- $ocVersion = array(6);
- $appInfo = array(
- 'requiremin' => '6',
- 'requiremax' => '6',
- );
- $this->assertTrue(\OC_App::isAppCompatible($ocVersion, $appInfo));
- }
-
- /**
* Tests that the app order is correct
*/
public function testGetEnabledAppsIsSorted() {