Please see https://github.com/nextcloud/server/pull/11680#discussion_r223395470. There are three removed APIs/function that you still mock in your tests. You might want to remove those. <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/64473924-remove-deprecated-js-api-mocks?utm_campaign=plugin&utm_content=tracker%2F44880056&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F44880056&utm_medium=issues&utm_source=github). </bountysource-plugin>