owncloud / files_antivirus

:space_invader: virus scanner for ownCloud
GNU Affero General Public License v3.0
48 stars 30 forks source link

Nightly failures in phpunit-tests #552

Closed grgprarup closed 1 year ago

grgprarup commented 1 year ago

Build: https://drone.owncloud.com/owncloud/files_antivirus/3245/4/8

There was 1 error:

1) OCA\Files_Antivirus\Tests\unit\RequestHelperTest::testPublicUploadSize
PHPUnit\Framework\MockObject\IncompatibleReturnValueException: Method getHeader may not return value of type integer, its declared return type is "?string"

/var/www/owncloud/server/apps/files_antivirus/tests/unit/RequestHelperTest.php:64
phpvfscomposer:///var/www/owncloud/server/lib/composer/phpunit/phpunit/phpunit:106

ERRORS!
Tests: 35, Assertions: 55, Errors: 1.

Generating code coverage report in Clover XML format ... done [00:00.218]
make: *** [Makefile:102: test-php-unit-dbg] Error 2