Swap server interface for client (#1580)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-10-07 11:56:39 -04:00
1 parent 098c3e1f22
commit 70e6536919
19 files changed
+146 -96

No files matched your search

@@ -102,8 +102,8 @@ func TestPluginSet_ImmutableFields(t *testing.T) {
_, prj := iam.TestScopes(t, iam.TestRepo(t, conn, wrapper))
plg := host.TestPlugin(t, conn, "test")
cat := TestCatalog(t, conn, prj.PublicId, plg.GetPublicId())
new := TestSet(t, conn, kmsCache, cat, map[string]plgpb.HostPluginServiceServer{
plg.GetPublicId(): &TestPluginServer{},
new := TestSet(t, conn, kmsCache, cat, map[string]plgpb.HostPluginServiceClient{
plg.GetPublicId(): NewWrappingPluginClient(&TestPluginServer{}),
})
tests := []struct {