From 5b3d80042eb260e95a3dd0991fdbaccc4a1bd291 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 9 May 2017 09:49:45 -0400 Subject: [PATCH] Fix mount test --- vault/mount_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vault/mount_test.go b/vault/mount_test.go index 7eacb75cb..d0647e3f2 100644 --- a/vault/mount_test.go +++ b/vault/mount_test.go @@ -634,13 +634,12 @@ func TestSingletonMountTableFunc(t *testing.T) { mounts, auth := c.singletonMountTables() - if len(mounts.Entries) != 2 { + if len(mounts.Entries) != 1 { t.Fatal("length of mounts is wrong") } for _, entry := range mounts.Entries { switch entry.Type { case "system": - case "cubbyhole": default: t.Fatalf("unknown type %s", entry.Type) }