(ctx context.Context, conn models.GithubConn)
| 321 | } |
| 322 | |
| 323 | func testGithubConnAppKeyAuth(ctx context.Context, conn models.GithubConn) (*GitHubTestConnResult, error) { |
| 324 | // AppKey can only have one secretKey, can shouldn't have tokens. |
| 325 | conn.Token = "" |
| 326 | // I think connection with InstallationID needs another test |
| 327 | // But it's to be determined. So just ignore it temporarily. |
| 328 | conn.InstallationID = 0 |
| 329 | return getInstallationsWithGithubConnAppKeyAuth(ctx, conn) |
| 330 | } |
| 331 | |
| 332 | func testExistingConnection(ctx context.Context, conn models.GithubConn) (*GithubMultiTestConnResponse, errors.Error) { |
| 333 | if vld != nil { |
no test coverage detected