This commit is contained in:
asoseil 2017-11-23 13:45:49 +01:00
parent fef9032fe4
commit c3e3b986ae
1 changed files with 2 additions and 9 deletions

View File

@ -5,20 +5,13 @@ import (
"github.com/go-siris/siris/core/errors"
"github.com/tockins/realize/realize"
"log"
"os"
"strings"
"testing"
)
var mockResponse interface{}
type mockRealize struct {
Settings realize.Settings `yaml:"settings" json:"settings"`
Server realize.Server `yaml:"server" json:"server"`
realize.Schema `yaml:",inline"`
sync chan string
exit chan os.Signal
}
type mockRealize realize.Realize
func (m *mockRealize) add() error {
if mockResponse != nil {