Skip to content

Commit

Permalink
push notification update
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Dec 14, 2018
1 parent 1463f00 commit 50d3b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion notifiers/mobile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ func TestMobileNotifier(t *testing.T) {
})

t.Run("mobile OnSuccess Again", func(t *testing.T) {
t.SkipNow()
assert.True(t, mobile.Online)
mobile.OnSuccess(TestService)
assert.Equal(t, 1, len(mobile.Queue))
go notifier.Queue(mobile)
time.Sleep(20 * time.Second)
assert.Equal(t, 0, len(mobile.Queue))
assert.Equal(t, 1, len(mobile.Queue))
})

t.Run("mobile Within Limits again", func(t *testing.T) {
Expand Down

0 comments on commit 50d3b84

Please sign in to comment.