1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-09 10:07:17 +02:00
pocketbase/models/param_test.go

17 lines
261 B
Go
Raw Normal View History

2022-07-06 23:19:05 +02:00
package models_test
import (
"testing"
"github.com/pocketbase/pocketbase/models"
)
func TestParamTableName(t *testing.T) {
t.Parallel()
2022-07-06 23:19:05 +02:00
m := models.Param{}
if m.TableName() != "_params" {
t.Fatalf("Unexpected table name, got %q", m.TableName())
}
}