Backend: Add unit tests for internal/entity
This commit is contained in:
parent
dcc43ed45d
commit
d4935c2d13
1 changed files with 0 additions and 4 deletions
|
@ -646,10 +646,6 @@ func TestPhoto_Create(t *testing.T) {
|
||||||
t.Fatal(err)
|
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) {
|
func TestPhoto_Save(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue