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

12 lines
270 B
Go
Raw Normal View History

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