(t *testing.T, s Server)
| 76 | } |
| 77 | |
| 78 | func TestMailboxDelete(t *testing.T, s Server) { |
| 79 | key := ari.NewKey(ari.MailboxKey, "mbox1") |
| 80 | runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 81 | testMailboxCommand(t, m, "Delete", key, nil, cl.Mailbox().Delete) |
| 82 | }) |
| 83 | runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 84 | testMailboxCommand(t, m, "Delete", key, errors.New("err"), cl.Mailbox().Delete) |
| 85 | }) |
| 86 | } |
| 87 | |
| 88 | func TestMailboxUpdate(t *testing.T, s Server) { |
| 89 | key := ari.NewKey(ari.MailboxKey, "mbox1") |
no test coverage detected