add missing mock command
This commit is contained in:
parent
fffcb0963e
commit
f81df14be3
17
internal/resource/mock_command_test.go
Normal file
17
internal/resource/mock_command_test.go
Normal file
@ -0,0 +1,17 @@
|
||||
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
|
||||
|
||||
package resource
|
||||
|
||||
import (
|
||||
_ "fmt"
|
||||
_ "github.com/stretchr/testify/assert"
|
||||
_ "os"
|
||||
_ "strings"
|
||||
_ "testing"
|
||||
)
|
||||
|
||||
type MockCommand Command
|
||||
|
||||
func (m *MockCommand) Execute(value any) ([]byte, error) {
|
||||
return nil, nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user