blob: 0e61ce83f7ee223593843121e6c9a5f4112fff8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package serve_test
import (
"testing"
"github.com/spiral/roadrunner-binary/v2/internal/cli/serve"
"github.com/spiral/roadrunner-plugins/v2/config"
"github.com/stretchr/testify/assert"
)
func TestCommandProperties(t *testing.T) {
cmd := serve.NewCommand(&config.Plugin{})
assert.Equal(t, "serve", cmd.Use)
assert.NotNil(t, cmd.RunE)
}
func TestExecution(t *testing.T) {
t.Skip("Command execution is not implemented yet")
}
|