From dad0ba9d27581b7d60bcf0fe6e91c2aa3b046499 Mon Sep 17 00:00:00 2001 From: Theresa Gresch Date: Fri, 10 Jul 2020 15:15:56 +0200 Subject: [PATCH] Backend: Add unit tests for internal/entity --- internal/entity/photo_label_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entity/photo_label_test.go b/internal/entity/photo_label_test.go index d2b78b38c..b93d654c9 100644 --- a/internal/entity/photo_label_test.go +++ b/internal/entity/photo_label_test.go @@ -65,7 +65,7 @@ func TestPhotoLabel_Save(t *testing.T) { } }) t.Run("photo not nil and label not nil", func(t *testing.T) { - label := &Label{LabelName: "ToBeRestored"} + label := &Label{LabelName: "LabelSaveUnique", LabelSlug: "unique-slug"} photo := &Photo{} photoLabel := PhotoLabel{Photo: photo, Label: label}