test(19-07): require TestTeammateDMWriteIDOR in the phase gate

The fail-closed postgres list now names the teammate DM write-IDOR case so CR-01 cannot regress silently. TestDeletingCascade stays required.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-10-17 22:37:00 +02:00
parent d1852f6cda
commit bd301a1696

View File

@@ -66,7 +66,7 @@ USER_CLASSES_SHORT=(TestHandle TestUserAuthorizer)
# postgres stage: testcontainers suites. TestDMThrottle and
# TestAttachmentDownload need the host (they skip under -short).
PG_CHAT_TESTS=(
TestChatTracer TestChatHTTPTracer TestDMThrottle
TestChatTracer TestChatHTTPTracer TestTeammateDMWriteIDOR TestDMThrottle
TestAttachmentDownload TestThreadMute
)
PG_CHATCHANNELS_TESTS=(
@@ -213,7 +213,7 @@ run_self_test() {
echo "refuse: --all does not honour PHASE19_REQUIRE_POSTGRES" >&2
return 1
}
for token in TestGoldenEvents TestChannelGoldenEvents TestNoQuestStreamTrace TestPHPMethodMap TestDMThrottle TestHandle TestUserAuthorizer TestFixtureAbsentFromProduction; do
for token in TestGoldenEvents TestChannelGoldenEvents TestNoQuestStreamTrace TestPHPMethodMap TestDMThrottle TestTeammateDMWriteIDOR TestHandle TestUserAuthorizer TestFixtureAbsentFromProduction; do
grep -qF "$token" "${BASH_SOURCE[0]}" || {
echo "refuse: self-test missing required token $token" >&2
return 1