summaryrefslogtreecommitdiffhomepage
path: root/ipn/ipnlocal/profiles_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ipn/ipnlocal/profiles_test.go')
-rw-r--r--ipn/ipnlocal/profiles_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipn/ipnlocal/profiles_test.go b/ipn/ipnlocal/profiles_test.go
index a7ffee5c2..dc45ed6b5 100644
--- a/ipn/ipnlocal/profiles_test.go
+++ b/ipn/ipnlocal/profiles_test.go
@@ -164,6 +164,14 @@ func TestProfileManagement(t *testing.T) {
delete(wantProfiles, "tagged-node.2.ts.net")
wantCurProfile = "user@2.example.com"
checkProfiles(t)
+
+ t.Logf("Delete all")
+ pm.DeleteAllProfiles()
+ wantProfiles = map[string]ipn.PrefsView{
+ "": emptyPrefs,
+ }
+ wantCurProfile = ""
+ checkProfiles(t)
}
// TestProfileManagementWindows tests going into and out of Unattended mode on