MCPcopy Create free account
hub / github.com/basecamp/hey-cli / TestAuthRefresh

Function TestAuthRefresh

tests/smoke/auth_test.go:43–48  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41 _, stderr, code := hey(t, "auth", "refresh")
42 if code != 0 {
43 t.Fatalf("auth refresh failed (exit %d): %s", code, stderr)
44 }
45}
46
47func TestAuthLogoutAndRelogin(t *testing.T) {
48 // Logout
49 heyOK(t, "auth", "logout")
50
51 // Verify we're logged out.

Callers

nothing calls this directly

Calls 1

heyFunction · 0.85

Tested by

no test coverage detected