From 77c5650665b7ebe4df62c6a25c5a85a30fedfd7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 18 Feb 2022 17:25:20 +0100 Subject: [PATCH] Cleanup: move imports to the right place --- internal/manager/api_impl/test_support.go | 30 +++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/internal/manager/api_impl/test_support.go b/internal/manager/api_impl/test_support.go index fa5c4127..a7833174 100644 --- a/internal/manager/api_impl/test_support.go +++ b/internal/manager/api_impl/test_support.go @@ -1,20 +1,5 @@ package api_impl -import ( - "bytes" - "encoding/json" - "io" - "net/http" - "net/http/httptest" - - "github.com/golang/mock/gomock" - "github.com/labstack/echo/v4" - "gitlab.com/blender/flamenco-ng-poc/internal/manager/api_impl/mocks" - "gitlab.com/blender/flamenco-ng-poc/internal/manager/persistence" - "gitlab.com/blender/flamenco-ng-poc/pkg/api" - "gorm.io/gorm" -) - /* ***** BEGIN GPL LICENSE BLOCK ***** * * Original Code Copyright (C) 2022 Blender Foundation. @@ -35,6 +20,21 @@ import ( * * ***** END GPL LICENSE BLOCK ***** */ +import ( + "bytes" + "encoding/json" + "io" + "net/http" + "net/http/httptest" + + "github.com/golang/mock/gomock" + "github.com/labstack/echo/v4" + "gitlab.com/blender/flamenco-ng-poc/internal/manager/api_impl/mocks" + "gitlab.com/blender/flamenco-ng-poc/internal/manager/persistence" + "gitlab.com/blender/flamenco-ng-poc/pkg/api" + "gorm.io/gorm" +) + type mockedFlamenco struct { flamenco *Flamenco jobCompiler *mocks.MockJobCompiler