mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-21 13:35:49 +02:00
17 lines
261 B
Go
17 lines
261 B
Go
package models_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/pocketbase/pocketbase/models"
|
|
)
|
|
|
|
func TestParamTableName(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
m := models.Param{}
|
|
if m.TableName() != "_params" {
|
|
t.Fatalf("Unexpected table name, got %q", m.TableName())
|
|
}
|
|
}
|