(ctx context.Context, userID uuid.UUID)
| 210 | } |
| 211 | |
| 212 | func (s *testWebpushErrorStore) GetWebpushSubscriptionsByUserID(ctx context.Context, userID uuid.UUID) ([]database.WebpushSubscription, error) { |
| 213 | if err := s.getWebpushSubscriptionsErr.Load(); err != nil { |
| 214 | return nil, *err |
| 215 | } |
| 216 | return s.Store.GetWebpushSubscriptionsByUserID(ctx, userID) |
| 217 | } |
| 218 | |
| 219 | func TestDeleteWebpushSubscription(t *testing.T) { |
| 220 | t.Parallel() |
nothing calls this directly
no test coverage detected