mirror of
https://github.com/portainer/portainer.git
synced 2026-06-23 04:20:11 +00:00
16 lines
339 B
Go
16 lines
339 B
Go
package endpointgroups
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/portainer/portainer/api/datastore"
|
|
"github.com/portainer/portainer/api/internal/testhelpers"
|
|
)
|
|
|
|
func setUpHandler(t *testing.T, store *datastore.Store) *Handler {
|
|
t.Helper()
|
|
handler := NewHandler(testhelpers.NewTestRequestBouncer())
|
|
handler.DataStore = store
|
|
return handler
|
|
}
|