mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
moved notice to unittests section
This commit is contained in:
@@ -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::
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user