summaryrefslogtreecommitdiffstats
path: root/tests/lib/installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/installer.php')
-rw-r--r--tests/lib/installer.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/lib/installer.php b/tests/lib/installer.php
index cfad4d7f0de..ca210ba31ef 100644
--- a/tests/lib/installer.php
+++ b/tests/lib/installer.php
@@ -38,6 +38,10 @@ class Test_Installer extends \Test\TestCase {
$data = array(
'path' => $tmp,
'source' => 'path',
+ 'appdata' => [
+ 'id' => 'Bar',
+ 'level' => 100,
+ ]
);
OC_Installer::installApp($data);
@@ -57,6 +61,10 @@ class Test_Installer extends \Test\TestCase {
$oldData = array(
'path' => $oldTmp,
'source' => 'path',
+ 'appdata' => [
+ 'id' => 'Bar',
+ 'level' => 100,
+ ]
);
$pathOfNewTestApp = __DIR__;
@@ -69,6 +77,10 @@ class Test_Installer extends \Test\TestCase {
$newData = array(
'path' => $newTmp,
'source' => 'path',
+ 'appdata' => [
+ 'id' => 'Bar',
+ 'level' => 100,
+ ]
);
OC_Installer::installApp($oldData);