mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
fix build in bundle mode
added bunlde mode build to CI to prevent this from happening again in the future Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -4643,7 +4643,7 @@ func TestEventActionEmailAttachments(t *testing.T) {
|
||||
email := lastReceivedEmail.get()
|
||||
assert.Len(t, email.To, 1)
|
||||
assert.True(t, util.Contains(email.To, "test@example.com"))
|
||||
assert.Contains(t, email.Data, fmt.Sprintf(`Subject: "upload" from "%s"`, user.Username))
|
||||
assert.Contains(t, email.Data, `Subject: "upload" from`)
|
||||
assert.Contains(t, email.Data, "Content-Disposition: attachment")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user