mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
create one generic package for dependency injection which can be used outside of Iris too - worked but unfished
Former-commit-id: a9d600321c07d7c9f39105416f14ae91528a16a3
This commit is contained in:
@@ -267,7 +267,7 @@ func (t *testControllerViewResultRespectCtxViewData) Get() Result {
|
||||
func TestControllerViewResultRespectCtxViewData(t *testing.T) {
|
||||
app := iris.New()
|
||||
New().Controller(app, new(testControllerViewResultRespectCtxViewData), func(ca *ControllerActivator) {
|
||||
ca.Bind(t)
|
||||
ca.Dependencies.Bind(t)
|
||||
})
|
||||
e := httptest.New(t, app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user