diff --git a/config_test.go b/config_test.go index db62667fac0..af2b40538c1 100644 --- a/config_test.go +++ b/config_test.go @@ -113,3 +113,12 @@ func TestConfig_GetRetrievers(t *testing.T) { }) } } + +func TestOfflineConfig(t *testing.T) { + c := ffClient.Config{ + Offline: true, + } + assert.True(t, c.IsOffline()) + c.SetOffline(false) + assert.False(t, c.IsOffline()) +}