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

12 lines
290 B
Go
Raw Normal View History

2024-11-06 11:11:06 +00:00
package models
import "testing"
func TestPostReport_TableName(t *testing.T) {
postReport := PostReport{}
expectedTableName := "PostReport"
if tableName := postReport.TableName(); tableName != expectedTableName {
t.Fatalf("expected %s, but got %s", expectedTableName, tableName)
}
}