PHPunit D11 failure

Created on 12 June 2024, 16 days ago
Updated 14 June 2024, 13 days ago

Problem/Motivation

There were 11 errors:
There were 2 errors:
1) Drupal\Tests\jsonapi_extras\Kernel\EntityToJsonApiTest::testSerialize
ArgumentCountError: Too few arguments to function Drupal\Tests\jsonapi_extras\Kernel\EntityToJsonApiTest::createImageField(), 2 passed in /builds/issue/jsonapi_extras-3451984/tests/src/Kernel/EntityToJsonApiTest.php on line 148 and at least 3 expected
/builds/issue/jsonapi_extras-3451984/web/core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php:38
/builds/issue/jsonapi_extras-3451984/tests/src/Kernel/EntityToJsonApiTest.php:148
2) Drupal\Tests\jsonapi_extras\Kernel\EntityToJsonApiTest::testRequestStack
ArgumentCountError: Too few arguments to function Drupal\Tests\jsonapi_extras\Kernel\EntityToJsonApiTest::createImageField(), 2 passed in /builds/issue/jsonapi_extras-3451984/tests/src/Kernel/EntityToJsonApiTest.php on line 148 and at least 3 expected
/builds/issue/jsonapi_extras-3451984/web/core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php:38
/builds/issue/jsonapi_extras-3451984/tests/src/Kernel/EntityToJsonApiTest.php:148
ERRORS!
Tests: 20, Assertions: 235, Errors: 2.

Steps to reproduce

PhpUnit Next Major latest Pipeline: https://git.drupalcode.org/issue/jsonapi_extras-3451984/-/jobs/1864857

Not sure but You might get more error once you fix these two

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India ankitv18

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

Comments & Activities

Production build 0.69.0 2024