2024-07-19 08:03:35 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestSource_TableName(t *testing.T) {
|
2024-08-13 09:07:14 +00:00
|
|
|
source := Source{}
|
|
|
|
expectedTableName := "Source"
|
|
|
|
if tableName := source.TableName(); tableName != expectedTableName {
|
|
|
|
t.Fatalf("expected %s, but got %s", expectedTableName, tableName)
|
2024-07-19 08:03:35 +00:00
|
|
|
}
|
|
|
|
}
|