hub (unreleased): two end dates warn the operator 14 days before — an operator token and a box's web certificate (R-1379, D77); the other sixteen as a design table
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
68292e40f6
commit
86bb912a4b
11 files changed
+527
-5
No files matched your search
@@ -10,3 +10,12 @@ func TestBoxClockEventsAreOperatorOnly(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// R-1379 (D77): the two end-date warnings are the operator's.
|
||||
func TestEndDateEventsAreOperatorOnly(t *testing.T) {
|
||||
for _, e := range []string{"operator_token_ends_soon", "web_cert_ends_soon"} {
|
||||
if !operatorOnlyEvents[e] {
|
||||
t.Errorf("%s must be operator-only", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user