mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-28 10:03:42 +02:00
15 lines
252 B
Go
15 lines
252 B
Go
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())
|
|
}
|
|
}
|