4e06deda76
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
15 lines
275 B
Go
15 lines
275 B
Go
package entity
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNewPhotoAlbum(t *testing.T) {
|
|
t.Run("new album", func(t *testing.T) {
|
|
m := NewPhotoAlbum("ABC", "EFG")
|
|
assert.Equal(t, "ABC", m.PhotoUUID)
|
|
assert.Equal(t, "EFG", m.AlbumUUID)
|
|
})
|
|
}
|