Fix test fails on Drupal 9.5 / PHP 7.4

Created on 7 February 2023, almost 2 years ago

Problem/Motivation

See https://www.drupal.org/pift-ci-job/2587976 β†’

Steps to reproduce

Run ./vendor/bin/phpunit -v modules/vgwort/tests/src/Kernel/EntityQueueTest.php

See

1) Drupal\Tests\vgwort\Kernel\EntityQueueTest::testQueueProcessing
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
 Array &0 (
     'queued' => 0
     'processing' => 0
-    'success' => '1'
-    'failure' => '1'
+    'success' => 0
+    'failure' => '2'
 )

/Volumes/dev/sites/drupal8alt.dev/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122
/Volumes/dev/sites/drupal8alt.dev/vendor/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php:79
/Volumes/dev/sites/drupal8alt.dev/modules/vgwort/tests/src/Kernel/EntityQueueTest.php:178
/Volumes/dev/sites/drupal8alt.dev/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024