SoXX
75bbbb4408
Some checks failed
Gitea Build Check / Build (push) Failing after 26s
refactored & fixed old test cases
12 lines
290 B
Go
12 lines
290 B
Go
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)
|
|
}
|
|
}
|