push notification update

pull/116/head
Hunter Long 2018-12-14 02:13:35 -08:00
parent a554f4c84a
commit 1463f0087b
1 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ func TestMobileNotifier(t *testing.T) {
mobile.OnSuccess(TestService)
assert.Equal(t, 1, len(mobile.Queue))
go notifier.Queue(mobile)
time.Sleep(5 * time.Second)
time.Sleep(20 * time.Second)
assert.Equal(t, 0, len(mobile.Queue))
})
@ -118,7 +118,7 @@ func TestMobileNotifier(t *testing.T) {
t.Run("mobile Queue", func(t *testing.T) {
go notifier.Queue(mobile)
time.Sleep(5 * time.Second)
time.Sleep(15 * time.Second)
assert.Equal(t, MOBILE_ID, mobile.Var1)
assert.Equal(t, 0, len(mobile.Queue))
})