middleware: Make scenario test functions take a testing.T argument (#29564)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -109,5 +109,5 @@ func (sc *scenarioContext) exec() {
|
||||
}
|
||||
}
|
||||
|
||||
type scenarioFunc func(c *scenarioContext)
|
||||
type scenarioFunc func(t *testing.T, c *scenarioContext)
|
||||
type handlerFunc func(c *models.ReqContext)
|
||||
|
||||
Reference in New Issue
Block a user