summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-29 13:43:05 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-29 14:53:59 +0100
commiteca9db6bba45a4131f1e8ad6d497c58420abfb96 (patch)
tree76503c8650e2a2fc81455d6086000c7668385828 /tests
parenteae79b7430a88d5622b8ea88cbc73a07c042dddf (diff)
THIS IS CONTACTS!
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/AppTest.php8
-rw-r--r--tests/unit/controller/PageControllerTest.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/integration/AppTest.php b/tests/integration/AppTest.php
index 92c1435c..d33a08ce 100644
--- a/tests/integration/AppTest.php
+++ b/tests/integration/AppTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * ownCloud - contactsrework
+ * ownCloud - contacts
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -24,13 +24,13 @@ class AppTest extends TestCase {
public function setUp() {
parent::setUp();
- $app = new App('contactsrework');
+ $app = new App('contacts');
$this->container = $app->getContainer();
}
public function testAppInstalled() {
$appManager = $this->container->query('OCP\App\IAppManager');
- $this->assertTrue($appManager->isInstalled('contactsrework'));
+ $this->assertTrue($appManager->isInstalled('contacts'));
}
-} \ No newline at end of file
+}
diff --git a/tests/unit/controller/PageControllerTest.php b/tests/unit/controller/PageControllerTest.php
index 8d1b4b2a..68852fe2 100644
--- a/tests/unit/controller/PageControllerTest.php
+++ b/tests/unit/controller/PageControllerTest.php
@@ -1,6 +1,6 @@
<?php
/**
- * ownCloud - contactsrework
+ * ownCloud - contacts
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
@@ -9,7 +9,7 @@
* @copyright Hendrik Leppelsack 2015
*/
-namespace OCA\ContactsRework\Controller;
+namespace OCA\Contacts\Controller;
use PHPUnit_Framework_TestCase;
@@ -25,7 +25,7 @@ class PageControllerTest extends PHPUnit_Framework_TestCase {
$request = $this->getMockBuilder('OCP\IRequest')->getMock();
$this->controller = new PageController(
- 'contactsrework', $request, $this->userId
+ 'contacts', $request, $this->userId
);
}
@@ -45,4 +45,4 @@ class PageControllerTest extends PHPUnit_Framework_TestCase {
}
-} \ No newline at end of file
+}