event_schema: Add schema check for realm/deactivated event.

This add the schema checker, openapi schema, and also a test for
realm/deactivated event.

With several block comments by tabbott explaining the logic behind our
behavior here.

Part of #17568.
This commit is contained in:
shanukun
2021-03-14 00:30:05 +05:30
committed by Tim Abbott
parent daa9bbba61
commit cfe0fa3788
7 changed files with 87 additions and 0 deletions

View File

@@ -216,6 +216,7 @@ exports.fixtures = {
realm__deactivated: {
type: "realm",
op: "deactivated",
realm_id: 2,
},
realm__update__bot_creation_policy: {