From 7193a16619f46cd02ac2287f0cac23b996b93a70 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 26 Jan 2013 03:46:27 +0100 Subject: [PATCH] moved notice to unittests section --- developer_manual/app/gettingstarted.rst | 2 -- developer_manual/app/unittesting.rst | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/developer_manual/app/gettingstarted.rst b/developer_manual/app/gettingstarted.rst index a67b8b3b3..8676ed4a6 100644 --- a/developer_manual/app/gettingstarted.rst +++ b/developer_manual/app/gettingstarted.rst @@ -59,8 +59,6 @@ To enable your app, simply link it into the apps directory: or create a second apps directory in your :file:`/var/www/owncloud/config/config.php` (see :doc:`../core/configfile`) -.. note:: The classloader in the **tests/** directory assumes that the appframework folder is in the same directory as the yourapp. If you run your app in a different apps folder, you will need to link the appframework into the same folder where your app folder resides. - .. note:: Don't forget to enable your app and the appframework app on the apps settings page! Now change into your app directory:: diff --git a/developer_manual/app/unittesting.rst b/developer_manual/app/unittesting.rst index 2221582b1..3792f88d1 100644 --- a/developer_manual/app/unittesting.rst +++ b/developer_manual/app/unittesting.rst @@ -75,4 +75,7 @@ You can now execute the test by running this in your app directory:: The apptemplateadvanced provides an own classloader :file:`tests/classloader.php` that loads the the classes. +.. note:: The classloader in the **tests/** directory assumes that the appframework folder is in the same directory as the yourapp. If you run your app in a different apps folder, you will need to link the appframework into the same folder where your app folder resides. + + More examples for testing controllers are in the :file:`tests/controller/ItemControllerTest.php`