Files
mattermost/server
Jesse Hallam 2b2ae4778f test: clean up channel store data after TestChannelStore (#36066)
TestChannelStore sub-tests create channels, members, and team members
using fake TeamIds and UserIds (model.NewId() for non-existent rows).
These records are left in the database and cause integrity tests
(TestCheck*) running in the same binary to fail their full-table scans.

Register a t.Cleanup on TestChannelStore that purges the affected
tables entirely. A blanket purge is safe: the schema enforces no FK
constraints, and every test suite creates its own data independently.
2026-04-14 16:22:44 +02:00
..
…
2026-04-10 15:26:36 -05:00
2026-04-10 15:26:36 -05:00
2024-05-15 12:05:13 -03:00