From b7deb6c88fb8efb886c9f2c77ed52d0be8b95795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 2 Dec 2019 18:00:12 +0200 Subject: [PATCH] Use a faster nettest for testing --- nettests/nettests_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nettests/nettests_test.go b/nettests/nettests_test.go index 364bf6b..3358bec 100644 --- a/nettests/nettests_test.go +++ b/nettests/nettests_test.go @@ -36,11 +36,11 @@ func TestRun(t *testing.T) { if err != nil { t.Fatal(err) } - res, err := database.CreateResult(ctx.DB, ctx.Home, "im", network.ID) + res, err := database.CreateResult(ctx.DB, ctx.Home, "middlebox", network.ID) if err != nil { t.Fatal(err) } - nt := Telegram{} + nt := HTTPInvalidRequestLine{} ctl := NewController(nt, ctx, res) nt.Run(ctl) }