mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-09 07:35:50 +02:00
Allow use of client id as an app id (#4057)
This commit is contained in:
@@ -57,7 +57,7 @@ func TestClient_Identifier(t *testing.T) {
|
||||
}
|
||||
defaultAppCreds := &actions.ActionsAuth{
|
||||
AppCreds: &actions.GitHubAppAuth{
|
||||
AppID: 123,
|
||||
AppID: "123",
|
||||
AppInstallationID: 123,
|
||||
AppPrivateKey: "private key",
|
||||
},
|
||||
@@ -90,7 +90,7 @@ func TestClient_Identifier(t *testing.T) {
|
||||
old: defaultAppCreds,
|
||||
new: &actions.ActionsAuth{
|
||||
AppCreds: &actions.GitHubAppAuth{
|
||||
AppID: 456,
|
||||
AppID: "456",
|
||||
AppInstallationID: 456,
|
||||
AppPrivateKey: "new private key",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user