Created on 18 April 2024, about 1 month ago
Updated 4 May 2024, 14 days ago

Problem/Motivation

After πŸ› Fix tests to match latest version of Feeds Needs review , it seems the unit tests are failing, perhaps because of the switch from Drupal 9 to Drupal 10. Let's get them fixed.

There were 10 errors:
1) Drupal\Tests\feeds_ex\Functional\FeedTypeEditFormTest::testFeedTypeEdit
Behat\Mink\Exception\ResponseTextException: The text "Created 2 Article items." was not found anywhere in the text of the current page.
/builds/project/feeds_ex/vendor/behat/mink/src/WebAssert.php:907
/builds/project/feeds_ex/vendor/behat/mink/src/WebAssert.php:293
/builds/project/feeds_ex/tests/src/Functional/FeedTypeEditFormTest.php:65
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
2) Drupal\Tests\feeds_ex\Functional\Feeds\Parser\JmesPathParserTest::testImportWithInvalidExpression
Behat\Mink\Exception\ResponseTextException: The text "Syntax error at character" was not found anywhere in the text of the current page.
/builds/project/feeds_ex/vendor/behat/mink/src/WebAssert.php:907
/builds/project/feeds_ex/vendor/behat/mink/src/WebAssert.php:293
/builds/project/feeds_ex/tests/src/Functional/Feeds/Parser/JmesPathParserTest.php:149
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
3) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\HtmlParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/HtmlParserTest.php:71
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
4) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\JmesPathLinesParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/JmesPathLinesParserTest.php:65
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
5) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\JmesPathParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/JmesPathParserTest.php:70
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
6) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\JsonPathLinesParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/JsonPathLinesParserTest.php:65
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
7) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\JsonPathParserTest::testMapCustomSource
Attempt to read property "feeds_item" on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/JsonPathParserTest.php:91
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
8) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\QueryPathHtmlParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/QueryPathHtmlParserTest.php:72
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
9) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\QueryPathXmlParserTest::testMapCustomSource
Error: Call to a member function getTitle() on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/QueryPathXmlParserTest.php:72
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
10) Drupal\Tests\feeds_ex\FunctionalJavascript\Feeds\Parser\XmlParserTest::testMapCustomSource
Attempt to read property "feeds_item" on null
/builds/project/feeds_ex/tests/src/FunctionalJavascript/Feeds/Parser/XmlParserTest.php:95
/builds/project/feeds_ex/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
ERRORS!
Tests: 113, Assertions: 1153, Errors: 10.
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡―πŸ‡΅Japan ptmkenny

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.67.2 2024