<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I've copied the apptemplate_advanced and started on my app. I've
enabled the AppFramework and my app in my owncloud install.<br>
<br>
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).<br>
<br>
When I try to run my test for my mapper class (e.g. `phpunit
tests/friendship/FriendshipMapperTest.php`), I get <br>
PHP Fatal error: Class 'OCA\AppFramework\Mapper' not found in
/home/sjones/public_html/dev/myapps/friends/database/friendship.mapper.php
on line 26<br>
<br>
Line 26 of friendship.mapper.php is<br>
class FriendshipMapper extends \OCA\AppFramework\Mapper {<br>
<br>
<a class="moz-txt-link-freetext" href="http://doc.owncloud.org/server/5.0/developer_manual/tutorial.html#unittests">http://doc.owncloud.org/server/5.0/developer_manual/tutorial.html#unittests</a>
says that the app tests should be app to run in isolation from the
owncloud instance with just the appframework.<br>
<br>
How should the my app know where the appframework is?<br>
<br>
Thanks,<br>
~Sarah<br>
<span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue',
Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 18px; orphans: 2; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); display: inline !important; float: none;"></span>
</body>
</html>