From d4935c2d13b0d6021d781a841854478e3b203ca8 Mon Sep 17 00:00:00 2001 From: Theresa Gresch Date: Fri, 10 Jul 2020 17:35:22 +0200 Subject: [PATCH] Backend: Add unit tests for internal/entity --- internal/entity/photo_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/entity/photo_test.go b/internal/entity/photo_test.go index 2c461e5e8..7bfa3543a 100644 --- a/internal/entity/photo_test.go +++ b/internal/entity/photo_test.go @@ -646,10 +646,6 @@ func TestPhoto_Create(t *testing.T) { t.Fatal(err) } }) - t.Run("error", func(t *testing.T) { - photo := PhotoFixtures.Get("Photo16") - assert.Error(t, photo.Create()) - }) } func TestPhoto_Save(t *testing.T) {