otter-space-sdk/pkg/models/userFavorite_test.go
SoXX 75bbbb4408
Some checks failed
Gitea Build Check / Build (push) Failing after 26s
chore(tests):
refactored & fixed old test cases
2024-08-13 11:07:14 +02:00

12 lines
301 B
Go

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