summaryrefslogtreecommitdiffstats
path: root/plugin/rpcplugin/sandbox/supervisor_test.go
blob: 245185dd5dbce37da7fbf0baa92db0a41f8eaf36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package sandbox

import (
	"testing"

	"github.com/mattermost/mattermost-server/plugin/rpcplugin/rpcplugintest"
)

func TestSupervisorProvider(t *testing.T) {
	if err := CheckSupport(); err != nil {
		t.Skip("sandboxing not supported:", err)
	}

	rpcplugintest.TestSupervisorProvider(t, SupervisorProvider)
}