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:
@@ -66,7 +66,7 @@ USER_CLASSES_SHORT=(TestHandle TestUserAuthorizer)
|
|||||||
# postgres stage: testcontainers suites. TestDMThrottle and
|
# postgres stage: testcontainers suites. TestDMThrottle and
|
||||||
# TestAttachmentDownload need the host (they skip under -short).
|
# TestAttachmentDownload need the host (they skip under -short).
|
||||||
PG_CHAT_TESTS=(
|
PG_CHAT_TESTS=(
|
||||||
TestChatTracer TestChatHTTPTracer TestDMThrottle
|
TestChatTracer TestChatHTTPTracer TestTeammateDMWriteIDOR TestDMThrottle
|
||||||
TestAttachmentDownload TestThreadMute
|
TestAttachmentDownload TestThreadMute
|
||||||
)
|
)
|
||||||
PG_CHATCHANNELS_TESTS=(
|
PG_CHATCHANNELS_TESTS=(
|
||||||
@@ -213,7 +213,7 @@ run_self_test() {
|
|||||||
echo "refuse: --all does not honour PHASE19_REQUIRE_POSTGRES" >&2
|
echo "refuse: --all does not honour PHASE19_REQUIRE_POSTGRES" >&2
|
||||||
return 1
|
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]}" || {
|
grep -qF "$token" "${BASH_SOURCE[0]}" || {
|
||||||
echo "refuse: self-test missing required token $token" >&2
|
echo "refuse: self-test missing required token $token" >&2
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user