when a job dies, delete images associated with it

This commit is contained in:
bel
2022-01-17 21:57:33 -07:00
parent 92b6019052
commit ffa33ea299
4 changed files with 91 additions and 22 deletions

View File

@@ -10,9 +10,11 @@ import (
"github.com/google/uuid"
)
func TestMatrixSend(t *testing.T) {
func TestMatrixSendDel(t *testing.T) {
sender := testMatrix(t)
if err := sender.Send("hello world from unittest"); err != nil {
if id, err := sender.SendTracked("hello world from unittest"); err != nil {
t.Fatal(err)
} else if err := sender.Remove(id); err != nil {
t.Fatal(err)
}
}