Two unit tests should extend RulesUnitTestBase not UnitTestCase

Created on 19 July 2020, over 4 years ago
Updated 3 August 2024, 7 months ago

All of the Rules Unit tests extend either RulesUnitTestBase, RulesIntegrationTestBase or RulesEntityIntegrationTestBase ... apart from two which extend UnitTestCase directly: tests/src/Unit/RulesDebugLoggerChannelTest.php and tests/src/Unit/ConditionExpressionTest.php

This is probably an oversight/accident, and it causes problems when adding temporary global debug to the the base class files, because these two test classes remain unaffected, and hence can fail. It would be good to have these two consistent with the rest.

πŸ“Œ Task
Status

Active

Version

4.0

Component

Tests

Created by

πŸ‡¬πŸ‡§United Kingdom jonathan1055

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024