SoXX
d69d1b68f6
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m58s
12 lines
290 B
Go
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)
|
|
}
|
|
}
|