You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I experienced the same problem as on nextcloud/server#4440.
Running phpunit tests on my machine threw lots of __construct() must implement interface OCP\IDBConnection.
I tried to follow exactly the same steps as the travis build, but it's impossible for me to make it work.
Thanks to georgehrke on irc, I got the correction quickly. It seems as simple as calling the parent setUp() on 2 test classes... However, I do not know why it seems to happen to some people only (same on nextcloud server).
Steps to reproduce
Just run phpunit --configuration phpunit.xml
Expected behaviour
Tests should run fine
Actual behaviour
Tell us what happens instead
Mail app
Mail app version: master (as of 2017-06-11)
Mailserver or service: christophwurst/owncloud-mail-test-docker
Server configuration
Operating system: Debian Jessie
Web server: Nginx
Database: SQLite
PHP version: 7.0/7.1
PhpUnit log
Repeated 60 times:
TypeError: Argument 1 passed to OC\BackgroundJob\JobList::__construct() must implement interface OCP\IDBConnection, null given, called in /home/luc/dev/core/lib/private/Server.php on line 508
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions.
lockbot
locked and limited conversation to collaborators
Nov 20, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I experienced the same problem as on nextcloud/server#4440.
Running phpunit tests on my machine threw lots of
__construct() must implement interface OCP\IDBConnection
.I tried to follow exactly the same steps as the travis build, but it's impossible for me to make it work.
Thanks to georgehrke on irc, I got the correction quickly. It seems as simple as calling the parent setUp() on 2 test classes... However, I do not know why it seems to happen to some people only (same on nextcloud server).
Steps to reproduce
phpunit --configuration phpunit.xml
Expected behaviour
Tests should run fine
Actual behaviour
Tell us what happens instead
Mail app
Mail app version: master (as of 2017-06-11)
Mailserver or service: christophwurst/owncloud-mail-test-docker
Server configuration
Operating system: Debian Jessie
Web server: Nginx
Database: SQLite
PHP version: 7.0/7.1
PhpUnit log
The text was updated successfully, but these errors were encountered: