From 710b76c79ff678bcc58f920f237783151d86ad4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Tue, 2 Apr 2019 22:56:04 +0200 Subject: [PATCH] Fixed mock generation --- internal/pkg/images/datastore_mock_test.go | 7 +------ internal/pkg/images/images_test.go | 4 ++-- internal/pkg/images/piwigo_mock_test.go | 7 +------ 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/internal/pkg/images/datastore_mock_test.go b/internal/pkg/images/datastore_mock_test.go index 46e1133..4d3c5b2 100644 --- a/internal/pkg/images/datastore_mock_test.go +++ b/internal/pkg/images/datastore_mock_test.go @@ -1,12 +1,7 @@ -/* - * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. - * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. - */ - // Code generated by MockGen. DO NOT EDIT. // Source: git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/datastore (interfaces: ImageMetadataProvider) -// Package app is a generated GoMock package. +// Package images is a generated GoMock package. package images import ( diff --git a/internal/pkg/images/images_test.go b/internal/pkg/images/images_test.go index 30542dc..5ed0299 100644 --- a/internal/pkg/images/images_test.go +++ b/internal/pkg/images/images_test.go @@ -5,8 +5,8 @@ package images -//go:generate mockgen -destination=./piwigo_mock_test.go -package=app git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/piwigo PiwigoApi,PiwigoCategoryApi,PiwigoImageApi -//go:generate mockgen -destination=./datastore_mock_test.go -package=app git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/datastore ImageMetadataProvider +//go:generate mockgen -destination=./piwigo_mock_test.go -package=images git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/piwigo PiwigoApi,PiwigoCategoryApi,PiwigoImageApi +//go:generate mockgen -destination=./datastore_mock_test.go -package=images git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/datastore ImageMetadataProvider import ( "errors" diff --git a/internal/pkg/images/piwigo_mock_test.go b/internal/pkg/images/piwigo_mock_test.go index 6a18b62..dbe713f 100644 --- a/internal/pkg/images/piwigo_mock_test.go +++ b/internal/pkg/images/piwigo_mock_test.go @@ -1,12 +1,7 @@ -/* - * Copyright (C) 2019 Philipp Haefelfinger (http://www.haefelfinger.ch/). All Rights Reserved. - * This application is licensed under GPLv2. See the LICENSE file in the root directory of the project. - */ - // Code generated by MockGen. DO NOT EDIT. // Source: git.haefelfinger.net/piwigo/PiwigoDirectoryUploader/internal/pkg/piwigo (interfaces: PiwigoApi,PiwigoCategoryApi,PiwigoImageApi) -// Package app is a generated GoMock package. +// Package images is a generated GoMock package. package images import (