()
| 204 | } |
| 205 | |
| 206 | func (d *testWebpushDispatcher) invalidateCount() int { |
| 207 | d.invalidateUserLock.Lock() |
| 208 | defer d.invalidateUserLock.Unlock() |
| 209 | return len(d.invalidateUserIDs) |
| 210 | } |
| 211 | |
| 212 | func (s *testWebpushErrorStore) GetWebpushSubscriptionsByUserID(ctx context.Context, userID uuid.UUID) ([]database.WebpushSubscription, error) { |
| 213 | if err := s.getWebpushSubscriptionsErr.Load(); err != nil { |
no test coverage detected