Skip to content

Commit

Permalink
Fixes broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanHeilman committed Apr 3, 2024
1 parent 68326b2 commit 53a4ba5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gha_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ func TestGithub(t *testing.T) {
op, err = providers.NewGithubOpFromEnvironment()
require.NoError(t, err)

client, err := client.New(op)
c, err := client.New(op)
require.NoError(t, err)

pkt, err := client.Auth(context.TODO())
pkt, err := c.Auth(context.TODO())
require.NoError(t, err)
require.NotNil(t, pkt)
fmt.Println("New PK token generated")

err = op.VerifyProvider(context.TODO(), pkt)
err = client.VerifyPKToken(context.TODO(), pkt, op)
require.NoError(t, err)
}

0 comments on commit 53a4ba5

Please sign in to comment.