testCheckUpdate fails on Owncloud external storage type
Open
Nobody has claimed this yet.
Type:Bug
- Dominant language
- PHP
- Stars
- 8.8k
- Forks
- 2.1k
- Avg merge
- 20h 7m
- Merged PRs (30d)
- 41
Description
Steps to reproduce
See PR #38354
- run the
apps/files_external/tests/Storage/OwncloudTest.php
Expected behaviour
Pass
Actual behaviour
https://drone.owncloud.com/owncloud/core/30016/35/10
PHPUnit 8.5.15 by Sebastian Bergmann and contributors.
Runtime: PHPDBG 7.4.18
Configuration: /drone/src/tests/phpunit-autotest-external.xml
.............................................F................... 65 / 85 ( 76%)
.................... 85 / 85 (100%)
Time: 2.23 minutes, Memory: 52.52 MB
There was 1 failure:
1) OCA\Files_External\Tests\Storage\OwncloudTest::testCheckUpdate
No update
Failed asserting that true is false.
/drone/src/tests/lib/Files/Storage/Storage.php:347
FAILURES!
Tests: 85, Assertions: 366, Failures: 1.
Server configuration
CI - see the PR for the configuration.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run apps/files_external/tests/Storage/OwncloudTest.php and inspect OCA\Files_External\Tests\Storage\OwncloudTest::testCheckUpdate, following the failure to tests/lib/Files/Storage/Storage.php:347. Compare the test setup with PR #38354 and the CI configuration; done means all 85 tests pass without the “No update” failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100