Move IM tests into top level tree too
This commit is contained in:
parent
b20af107dc
commit
ccdff3ba24
4 changed files with 8 additions and 26 deletions
|
|
@ -36,17 +36,11 @@ func TestRun(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
res, err := database.CreateResult(ctx.DB, ctx.Home, tg, network.ID)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
builder, err := ctl.Ctx.Session.NewExperimentBuilder(
|
||||
"telegram",
|
||||
)
|
||||
res, err := database.CreateResult(ctx.DB, ctx.Home, "im", network.ID)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
nt := Telegram{}
|
||||
ctl := NewController(nt, ctx, res)
|
||||
ctl.Run(builder, []string{""})
|
||||
nt.Run(ctl)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue