summaryrefslogtreecommitdiffstats
path: root/cmd/commands/sampledata_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/commands/sampledata_test.go')
-rw-r--r--cmd/commands/sampledata_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/commands/sampledata_test.go b/cmd/commands/sampledata_test.go
index d71ac0575..183392f11 100644
--- a/cmd/commands/sampledata_test.go
+++ b/cmd/commands/sampledata_test.go
@@ -6,13 +6,13 @@ package commands
import (
"testing"
- "github.com/mattermost/mattermost-server/api"
+ "github.com/mattermost/mattermost-server/api4"
"github.com/mattermost/mattermost-server/cmd"
"github.com/stretchr/testify/require"
)
func TestSampledataBadParameters(t *testing.T) {
- th := api.Setup().InitBasic()
+ th := api4.Setup().InitBasic()
defer th.TearDown()
// should fail because you need at least 1 worker