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`