dg nil check on TestGateway

This commit is contained in:
Bruce Marriner 2016-04-25 20:16:18 -05:00
parent 2b7da95627
commit 280ad2cdc3

View file

@ -137,6 +137,9 @@ func TestLogout(t *testing.T) {
func TestGateway(t *testing.T) {
if dg == nil {
t.Skip("Skipping, dg not set.")
}
_, err := dg.Gateway()
if err != nil {
t.Errorf("Gateway() returned error: %+v", err)