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
Functional tests fail for PHP 8.x (tested with 8.1).
Reproduction
Steps to reproduce the behaviour:
Run functional tests with PHP 8.1
Expected Behavior
Functional tests pass for PHP 8.x
Screenshots and Examples
Log of functional tests with PHP 8.1:
There was 1 error:
1) Kitodo\Dlf\Tests\Functional\Common\SolrIndexingTest::canIndexAndSearchDocument
TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given
/var/www/html/kitodo-presentation/Classes/Common/Solr/SolrSearch.php:863
/var/www/html/kitodo-presentation/Classes/Common/Solr/SolrSearch.php:514
/var/www/html/kitodo-presentation/Classes/Common/Solr/SolrSearchQuery.php:75
/var/www/html/kitodo-presentation/Tests/Functional/Common/SolrIndexingTest.php:92
--
There was 1 failure:
1) Kitodo\Dlf\Tests\Functional\Api\OaiPmhTest::noRecordsUntil1900
Failed asserting that exception of type "Phpoaipmh\Exception\MalformedResponseException" matches expected exception "Phpoaipmh\Exception\OaipmhException". Message was: "Could not decode XML Response: String could not be parsed as XML" at
/var/www/html/kitodo-presentation/vendor/caseyamcl/phpoaipmh/src/Client.php:134
/var/www/html/kitodo-presentation/vendor/caseyamcl/phpoaipmh/src/Client.php:95
/var/www/html/kitodo-presentation/vendor/caseyamcl/phpoaipmh/src/RecordIterator.php:224
/var/www/html/kitodo-presentation/vendor/caseyamcl/phpoaipmh/src/RecordIterator.php:190
/var/www/html/kitodo-presentation/vendor/caseyamcl/phpoaipmh/src/RecordIterator.php:326
/var/www/html/kitodo-presentation/Tests/Functional/Api/OaiPmhTest.php:179
.
Environment
OS version: Linux Docker (docker.io/php8.1-apache)
RDBMS version: docker.io/library/mariadb:10.11
Apache Solr version: 9.6
TYPO3 version: 11.5.39
PHP version: 8.1
The text was updated successfully, but these errors were encountered:
Description
Functional tests fail for PHP 8.x (tested with 8.1).
Reproduction
Steps to reproduce the behaviour:
Expected Behavior
Functional tests pass for PHP 8.x
Screenshots and Examples
Log of functional tests with PHP 8.1:
Environment
The text was updated successfully, but these errors were encountered: