Backend: Add unit tests for internal/entity

This commit is contained in:
Theresa Gresch 2020-07-10 17:35:22 +02:00
parent dcc43ed45d
commit d4935c2d13

View file

@ -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) {