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