(t *testing.T, c gh.Config, hostname, username, token, protocol string)
| 1121 | } |
| 1122 | |
| 1123 | func login(t *testing.T, c gh.Config, hostname, username, token, protocol string) { |
| 1124 | t.Helper() |
| 1125 | _, err := c.Authentication().Login(hostname, username, token, protocol, false) |
| 1126 | require.NoError(t, err) |
| 1127 | } |
| 1128 | |
| 1129 | func loginRefreshable(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, expiresAt, refreshTokenExpiresAt *time.Time) { |
| 1130 | t.Helper() |
no test coverage detected