-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Issues running tests #4440
Comments
I had the same issues running tests of the deck app locally. Those were caused by test classes that inherited from \Test\TestCase that implemented a setup method without calling parent::setUp(). Adding those fixed it for me, maybe that is also the case somewhere in the dav app. |
Hm. no. |
@juliushaertl It was indeed a missing |
./autotest.sh sqlite
works fine without errors (also executes dav tests)./autotest.sh sqlite apps/dav
throws plenty of::__construct() must implement interface OCP\IDBConnection, null given
errorsphpunit --bootstrap tests/bootstrap.php -c apps/dav/tests/unit/phpunit.xml
throws the same errors.@LukasReschke was also able to reproduce this
All three commands work just fine on
stable11
.Server configuration
Operating system: ubuntu 17.04
Web server: apache
Database: sqlite / mysql
PHP version: 7.0.15-1ubuntu4
PHPUnit version: 5.7.19
Nextcloud version: 1bd3bd3 (but also before, not stable11)
The text was updated successfully, but these errors were encountered: