summaryrefslogtreecommitdiff
path: root/internal/processing/stream/open_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/stream/open_test.go')
-rw-r--r--internal/processing/stream/open_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/processing/stream/open_test.go b/internal/processing/stream/open_test.go
index 21ef69154..cc08a17a7 100644
--- a/internal/processing/stream/open_test.go
+++ b/internal/processing/stream/open_test.go
@@ -18,7 +18,6 @@
package stream_test
import (
- "context"
"testing"
"github.com/stretchr/testify/suite"
@@ -31,7 +30,7 @@ type OpenStreamTestSuite struct {
func (suite *OpenStreamTestSuite) TestOpenStream() {
account := suite.testAccounts["local_account_1"]
- _, errWithCode := suite.streamProcessor.Open(context.Background(), account, "user")
+ _, errWithCode := suite.streamProcessor.Open(suite.T().Context(), account, "user")
suite.NoError(errWithCode)
}