[owncloud-devel] Installing App when running unit tests

Bernhard Posselt dev at bernhard-posselt.com
Sat Apr 18 13:34:09 GMT 2015


OC_Hook and OC_App both have public interface counterparts, use them ;)

On 04/18/2015 03:32 PM, Tobia De Koninck wrote:
> Hi
>
> The Chat app doesn't pass the code check in 8.1 (refs
> https://github.com/owncloud/chat/issues/219).
> To be able to run DB unit tests, I have to install (not only enable)
> the app before the unit tests are run. However the only method to this
> is   OC_App::enable('chat'); . Of course this doesn't pass the code
> check.
>
> How should I enable the app?
>
> Thanks
>
> Tobia (LEDfan)
>
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel



More information about the Devel mailing list