MCPcopy
hub / github.com/pocketbase/pocketbase / TestClient

Function TestClient

tools/auth/base_provider_test.go:257–264  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

255}
256
257func TestClient(t *testing.T) {
258 b := BaseProvider{}
259
260 result := b.Client(&oauth2.Token{})
261 if result == nil {
262 t.Error("Expected *http.Client instance, got nil")
263 }
264}
265
266func TestOauth2Config(t *testing.T) {
267 b := BaseProvider{

Callers

nothing calls this directly

Calls 2

ClientMethod · 0.95
ErrorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…