diff options
author | Valery Piashchynski <[email protected]> | 2021-01-26 01:06:16 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-26 01:06:16 +0300 |
commit | 4638bdca80f75bc120b330022086d31c8b41be5b (patch) | |
tree | 2362cdb39dc2e793f5bec7fd9b8d2363f516c1d4 /tests/plugins | |
parent | 7756eb25453c8006fbd75aa5c97159e96331b840 (diff) |
Code cleanup
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/temporal/server_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/plugins/temporal/server_test.go b/tests/plugins/temporal/server_test.go index 03e4ed7f..c8d815c3 100644 --- a/tests/plugins/temporal/server_test.go +++ b/tests/plugins/temporal/server_test.go @@ -98,12 +98,7 @@ func NewTestServer(opt ...ConfigOption) *TestServer { } func (s *TestServer) Client() temporalClient.Client { - c, err := s.temporal.GetClient() - if err != nil { - panic(err) - } - - return c + return s.temporal.GetClient() } func (s *TestServer) MustClose() { |