Fix unused use statement in FloodTest

Created on 22 February 2023, almost 2 years ago

Problem/Motivation

Following πŸ“Œ Improve test coverage of the flood memory backend test and convert it to a unit test Fixed DrupalCI is failing on 10.0.x and 9.5.x:

FILE: ...w/html/core/modules/system/tests/src/Kernel/System/FloodTest.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
 6 | WARNING | [x] Unused use statement
   |         |     (Drupal.Classes.UnusedUseStatement.UnusedUse)

This is because MemoryBackend is now unused in 10.0.x and 9.5.x. This didn't fail in 10.1.x because it has additional test coverage following ✨ Add a clearByPrefix() method to the flood API Fixed

Steps to reproduce

Proposed resolution

Remove the unused use statement.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

10.0 ✨

Component
BaseΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

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

Comments & Activities

Production build 0.71.5 2024