Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MapperTestUtility from the Appframework instead of importing the class #41

Open
oparoz opened this issue Aug 18, 2016 · 1 comment
Assignees
Projects

Comments

@oparoz
Copy link
Contributor

oparoz commented Aug 18, 2016

The MapperTestUtility class is already part of the server, so let's use that instead of importing our own:

https://github.com/nextcloud/server/blob/e991b23d9d74a7d8af9d7f824a5bbeaf1e629604/tests/lib/AppFramework/Db/MapperTestUtility.php

@imjalpreet
Copy link
Member

@oparoz Earlier I had done this but it was giving the following error:

PHP Fatal error: Class 'Test\AppFramework\Db\MapperTestUtility' not found in /var/www/GSoC/apps/mediametadata/tests/unit/Services/RetrieveMetadataTest.php on line 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
V1.0
Ready
Development

No branches or pull requests

2 participants