]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make sure tests don't leave a stray directory behind
authorJoas Schilling <nickvergessen@owncloud.com>
Wed, 3 Feb 2016 11:57:22 +0000 (12:57 +0100)
committerJoas Schilling <nickvergessen@owncloud.com>
Wed, 3 Feb 2016 11:57:22 +0000 (12:57 +0100)
tests/lib/appframework/AppTest.php

index 7cba0e6db6b28e4d666b4a8b2217e8c370e5aacd..3d41d6590aac4c860b7c70b3a877c2a80362c069 100644 (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>' .