1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-01 02:56:49 +02:00
pocketbase/models/admin_test.go
2022-07-07 00:19:05 +03:00

15 lines
246 B
Go

package models_test
import (
"testing"
"github.com/pocketbase/pocketbase/models"
)
func TestAdminTableName(t *testing.T) {
m := models.Admin{}
if m.TableName() != "_admins" {
t.Fatalf("Unexpected table name, got %q", m.TableName())
}
}