Hi,
I've copied the apptemplate_advanced and started on my app. I've
enabled the AppFramework and my app in my owncloud install.
I based my FriendshipMapper class off of the ItemMapper class in the
apptemplate_advanced. I am basing FriendshipMapperTest off of the
appframework MapperTest (since there were no db unit tests samples in
apptemplate or apptemplate_advanced).
When I try to run my test for my mapper class (e.g. `phpunit
tests/friendship/FriendshipMapperTest.php`), I get
PHP Fatal error: Class 'OCA\AppFramework\Mapper' not found in
/home/sjones/public_html/dev/myapps/friends/database/friendship.mapper.php
on line 26
Line 26 of friendship.mapper.php is
class FriendshipMapper extends \OCA\AppFramework\Mapper {
http://doc.owncloud.org/server/5.0/developer_manual/tutorial.html#unittests
says that the app tests should be app to run in isolation from the
owncloud instance with just the appframework.
How should the my app know where the appframework is?
Thanks,
~Sarah
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud