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

+1 -1
View File
@@ -577,7 +577,7 @@ func NewTestController(t *testing.T, opts *TestControllerOpts) *TestController {
}
} else if !opts.DisableDatabaseCreation {
var createOpts []base.Option
createOpts = append(createOpts, base.WithHostPlugin("pl_1234567890", plugin.NewLoopbackPlugin()))
createOpts = append(createOpts, base.WithHostPlugin("pl_1234567890", plugin.NewWrappingPluginClient(plugin.NewLoopbackPlugin())))
if opts.DisableAuthMethodCreation {
createOpts = append(createOpts, base.WithSkipAuthMethodCreation())
}