Entity schema validation test

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

(Prompted by @rspeicher reviewing in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15515#note_215738264)

https://gitlab.com/gitlab-org/gitlab-ee/blob/cd82f261ba6339226da03794c3315e7fffaded6d/app%2Fserializers%2FREADME.md#how-to-write-tests-for-a-serializer mentions to validate using match_response_schema (sic, match_schema ?)

Does it make sense to repeat a similar test using match_schema on the Entity as well ?

https://gitlab.com/gitlab-org/gitlab-ee/blob/cd82f261ba6339226da03794c3315e7fffaded6d/app%2Fserializers%2FREADME.md#best-practices that we should test entity as well, but how exactly is not clarified, so here I am.

Edited Sep 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading