Make sure tests don't leave a stray directory behind

This commit is contained in:
Joas Schilling 2016-02-03 12:57:22 +01:00
parent 78d5c89e86
commit 599eb141b4
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ class AppTest extends \Test\TestCase {
$this->container['OCP\\AppFramework\\Http\\IOutput'] = $this->io;
$this->container['urlParams'] = array();
$this->appPath = __DIR__ . '/../../../apps/namespacetestapp/appinfo';
$infoXmlPath = $this->appPath . '/info.xml';
mkdir($this->appPath, 0777, true);
$this->appPath = __DIR__ . '/../../../apps/namespacetestapp';
$infoXmlPath = $this->appPath . '/appinfo/info.xml';
mkdir($this->appPath . '/appinfo', 0777, true);
$xml = '<?xml version="1.0" encoding="UTF-8"?>' .
'<info>' .