From 9e976cb4ae77a914c017219a2ae73e29ab9e7724 Mon Sep 17 00:00:00 2001 From: Chris Marchesi Date: Mon, 22 Nov 2021 13:42:19 -0800 Subject: [PATCH] internal/host/plugin: Fix TestUpdateSet (#1735) Now asserts on error on the last lookup check and removes the plugin lookup since we're not asserting on that. --- internal/host/plugin/repository_host_set_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/host/plugin/repository_host_set_test.go b/internal/host/plugin/repository_host_set_test.go index 9659a3d48..581fb0757 100644 --- a/internal/host/plugin/repository_host_set_test.go +++ b/internal/host/plugin/repository_host_set_test.go @@ -1220,7 +1220,8 @@ func TestRepository_UpdateSet(t *testing.T) { check(t, gotUpdatedSet) } - gotLookupSet, gotPlugin, err := repo.LookupSet(ctx, workingSet.GetPublicId()) + gotLookupSet, _, err := repo.LookupSet(ctx, workingSet.GetPublicId()) + assert.NoError(err) assert.Empty(cmp.Diff(gotUpdatedSet, gotLookupSet, protocmp.Transform())) }) }