From b886a48540bdf5be485e6f97654fa427b30a1674 Mon Sep 17 00:00:00 2001 From: Alexander Melentyev Date: Fri, 10 Sep 2021 19:52:59 +0300 Subject: [PATCH] Delete webapi test --- .../usecase/webapi/translation_google_test.go | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 internal/usecase/webapi/translation_google_test.go diff --git a/internal/usecase/webapi/translation_google_test.go b/internal/usecase/webapi/translation_google_test.go deleted file mode 100644 index 8f4bbebf..00000000 --- a/internal/usecase/webapi/translation_google_test.go +++ /dev/null @@ -1,27 +0,0 @@ -package webapi_test - -import ( - "testing" - - "github.com/evrone/go-clean-template/internal/entity" - "github.com/evrone/go-clean-template/internal/usecase/webapi" - "github.com/stretchr/testify/require" -) - -func TestNew(t *testing.T) { - t.Parallel() - - translation := webapi.New() - - require.IsType(t, translation, &webapi.TranslationWebAPI{}) -} - -func TestTranslateErr(t *testing.T) { - t.Parallel() - - translation := webapi.New() - - _, err := translation.Translate(entity.Translation{}) - - require.Error(t, err) -}