1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-01-23 22:12:48 +02:00
pocketbase/models/param_test.go

15 lines
246 B
Go
Raw Normal View History

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