update
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user