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

12 lines
305 B
Go
Raw Normal View History

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