Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestEnvironment ¶
type TestEnvironment struct { T *testing.T Assert *require.Assertions StaticTime stime.StaticTimeService AccountID string service.Environment }
func NewEnvironment ¶
func NewEnvironment(t *testing.T, router *mux.Router) *TestEnvironment
func (TestEnvironment) MakeCall ¶
func (s TestEnvironment) MakeCall(req *http.Request, body interface{}) *http.Response
func (TestEnvironment) MakeRequest ¶
func (s TestEnvironment) MakeRequest(method string, target string, body interface{}) *http.Request
Click to show internal directories.
Click to hide internal directories.