refactor: make sentry report its own package

This commit is contained in:
James Houlahan
2020-04-16 16:27:57 +02:00
parent 4809d97cb1
commit 38f0425670
8 changed files with 56 additions and 46 deletions

View File

@ -336,12 +336,7 @@ func TestClient_Logout(t *testing.T) {
c.Logout()
r.Eventually(t, func() bool {
// TODO: Use a method like IsConnected() which returns whether the client was logged out or not.
return c.accessToken == "" &&
c.uid == "" &&
c.kr == nil &&
c.addresses == nil &&
c.user == nil
return c.IsConnected() == false && c.kr == nil && c.addresses == nil && c.user == nil
}, 10*time.Second, 10*time.Millisecond)
}