mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-01-10 00:43:36 +02:00
17 lines
282 B
Go
17 lines
282 B
Go
package models_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/pocketbase/pocketbase/models"
|
|
)
|
|
|
|
func TestExternalAuthTableName(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
m := models.ExternalAuth{}
|
|
if m.TableName() != "_externalAuths" {
|
|
t.Fatalf("Unexpected table name, got %q", m.TableName())
|
|
}
|
|
}
|