refactor runner

This commit is contained in:
Pedro Nasser
2016-08-21 19:40:08 -03:00
parent 3b5ff970df
commit 8b0d0f1e13
11 changed files with 114 additions and 88 deletions

View File

@@ -26,7 +26,7 @@ func TestFullStack(t *testing.T) {
ds, close := prepareBolt(t)
defer close()
New(ds, &models.Config{})
New(&models.Config{}, ds, testRunner(t))
router := testRouter()
for i, test := range []struct {