otter-space-sdk/pkg/models/userSource_test.go

12 lines
290 B
Go
Raw Normal View History

package models
import "testing"
func TestUserSource_TableName(t *testing.T) {
userSource := UserSource{}
expectedTableName := "UserSource"
if tableName := userSource.TableName(); tableName != expectedTableName {
t.Fatalf("expected %s, but got %s", expectedTableName, tableName)
}
}