1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2024-12-04 19:45:30 +02:00
pocketbase/models/request_test.go

15 lines
252 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 TestRequestTableName(t *testing.T) {
m := models.Request{}
if m.TableName() != "_requests" {
t.Fatalf("Unexpected table name, got %q", m.TableName())
}
}