mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-25 01:16:21 +02:00
15 lines
267 B
Go
15 lines
267 B
Go
package models_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/pocketbase/pocketbase/models"
|
|
)
|
|
|
|
func TestExternalAuthTableName(t *testing.T) {
|
|
m := models.ExternalAuth{}
|
|
if m.TableName() != "_externalAuths" {
|
|
t.Fatalf("Unexpected table name, got %q", m.TableName())
|
|
}
|
|
}
|