This commit is contained in:
2026-07-28 22:09:19 -05:00
parent 64ee9da494
commit 5c4268524b
6 changed files with 707 additions and 2 deletions
+4
View File
@@ -121,6 +121,10 @@ func TestPackageAndAuditTemplatesExecute(t *testing.T) {
!strings.Contains(auditOutput.String(), "audit_event=code_exchange_failed") {
t.Fatal("audit page does not include the failed-code-attempt shortcut")
}
if !strings.Contains(auditOutput.String(), "Download complete Excel") ||
!strings.Contains(auditOutput.String(), `/portal/audit/export?audit_range=all`) {
t.Fatal("audit page does not include the complete Excel export")
}
}
func TestFleetTemplateExecutes(t *testing.T) {