Remove or convert legacy Simpletests

Created on 26 July 2023, 11 months ago
Updated 27 July 2023, 11 months ago

Problem/Motivation

The few tests in earlier versions were simpletests:

  • src/Tests/access.test : a functional access control test for the G2 routes
  • src/Tests/issues.test : a function test for the "wiki" G2 mode, aka the "default node from entry" contents

They need to be either converted or removed if irrelevant

Also, the existing tests are located in the old location src/Tests/(Functional[Javascript]|Kernel|Unit), and in the Drupal\g2\Tests namespace, but the current recommended location is tests/src/(Functional[Javascript]|Kernel|Unit) and the namespaces need to be adapted accordingly to Drupal\Tests\g2.

Steps to reproduce

TBD.

Proposed resolution

TBD.

Remaining tasks

All.

User interface changes

None: tests only.

API changes

None: tests only.

Data model changes

None: tests only.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France fgm Paris, France

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

Comments & Activities

Production build 0.69.0 2024