Skip to content

Commit

Permalink
fix tests broken by #215
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisns committed Jan 31, 2025
1 parent f7227a6 commit f0c9896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func Test_formatValidatorToken(t *testing.T) {
}

func Test_formatResponse(t *testing.T) {
fixture := `{"apiVersion":"client.authentication.k8s.io/v1beta1","kind":"ExecCredential","status":{"token":"my-bearer-token"}}`
fixture := `{"apiVersion":"client.authentication.k8s.io/v1beta1","kind":"ExecCredential","status":{}}`
actual, err := formatResponse(&response{})
require.Equal(t, fixture, actual)
require.Nil(t, err)
Expand Down

0 comments on commit f0c9896

Please sign in to comment.