photoprism/internal/entity/share_test.go

15 lines
211 B
Go
Raw Normal View History

2019-12-17 18:28:47 +01:00
package entity
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShare_TableName(t *testing.T) {
share := &Share{}
tableName := share.TableName()
assert.Equal(t, "shares", tableName)
}