Reset static entity cache on POST requests in tests

Created on 17 March 2019, almost 6 years ago
Updated 6 November 2024, 3 months ago

Problem/Motivation

We already reset quite a few things when doing POST requests, like statically cached config. We didn't do it for entities because we didn't have an API for that for a long time.

Doing this should remove the need for a lot of manual cache clear calls.

Proposed resolution

Reset the static entity cache service.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component

simpletest.module

Created by

πŸ‡¨πŸ‡­Switzerland berdir Switzerland

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