Skip to content

Commit

Permalink
fix(end-to-end): Fix Ubuntu Pro Token registry key used in E2E tests (#…
Browse files Browse the repository at this point in the history
…400)

The key value in which the Ubuntu Pro token is stored was changed in PR
#369 from `ProTokenOrg` to `UbuntuProToken`.

This error went unnoticed because the E2E tests were not working until
#397.
EduardGomezEscandell authored Nov 14, 2023
2 parents 423ee52 + 8a9f8d9 commit 104e2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion end-to-end/organization_token_test.go
Original file line number Diff line number Diff line change
@@ -100,6 +100,6 @@ func activateOrgSubscription(t *testing.T) {
require.NoErrorf(t, err, "Setup: could not open UbuntuPro registry key")
defer key.Close()

err = key.SetStringValue("ProTokenOrg", token)
err = key.SetStringValue("UbuntuProToken", token)
require.NoError(t, err, "could not write token in registry")
}

0 comments on commit 104e2e9

Please sign in to comment.