{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18765","labels_url":"https://api.github.com/repos/owncloud/core/issues/18765/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18765/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18765/events","html_url":"https://github.com/owncloud/core/issues/18765","id":104455358,"number":18765,"title":"Unit tests of apps are broken","user":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":628,"closed_issues":587,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-09-02T11:01:19Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-09-02T11:01:19Z","updated_at":"2015-09-02T11:46:36Z","closed_at":null,"body":"```\r\nPHP Fatal error:  Uncaught exception 'Exception' with message 'Path not allowed: /home/nickv/ownCloud/master/core/tests/lib/testcase.php' in /home/nickv/ownCloud/master/core/lib/autoloader.php:132\r\nStack trace:\r\n#0 /home/nickv/ownCloud/master/core/lib/autoloader.php(152): OC\\Autoloader->isValidPath('/home/nickv/own...')\r\n#1 [internal function]: OC\\Autoloader->load('Test\\\\TestCase')\r\n#2 /home/nickv/ownCloud/master/core/repos/notifications/tests/testcase.php(24): spl_autoload_call('Test\\\\TestCase')\r\n#3 /home/nickv/ownCloud/master/core/lib/autoloader.php(163): require_once('/home/nickv/own...')\r\n#4 [internal function]: OC\\Autoloader->load('OCA\\\\Notificatio...')\r\n#5 /home/nickv/ownCloud/master/core/repos/notifications/tests/appinfo/RoutesTest.php(26): spl_autoload_call('OCA\\\\Notificatio...')\r\n#6 /home/nickv/Tools/vendor/phpunit/phpunit/src/Util/Fileloader.php(93): include_once('/home/nickv/own...')\r\n#7 /home/nickv/Tools/vendor/phpunit/phpunit/src/Util/Fileloader.php(77): PHPUnit_Util_Fileloader::load('/home/nickv/own...')\r\n#8 /home/nickv/To in /home/nickv/ownCloud/master/core/lib/autoloader.php on line 132\r\n```\r\n\r\nCaused by #18396\r\n\r\nFIX IT @icewind1991 @Xenopathic \r\nor give an example on the activity/mail/gallery/notifications app so devs can copy it.\r\nAlso send an email to the dev mailing list with a code snippet that can be used to fix it.\r\n\r\n// cc @oparoz "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/137044711","html_url":"https://github.com/owncloud/core/issues/18765#issuecomment-137044711","issue_url":"https://api.github.com/repos/owncloud/core/issues/18765","id":137044711,"user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T11:46:36Z","updated_at":"2015-09-02T11:46:36Z","body":"Or add `\\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');` to your own bootstrap"}}