otter-space-sdk/pkg/models/postReport_test.go
SoXX d69d1b68f6
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m58s
feat(database): added tests
2024-11-06 12:11:15 +01:00

12 lines
290 B
Go

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)
}
}