Skip to content

Commit

Permalink
Update plugins_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Feb 15, 2021
1 parent 4cb94a6 commit 632e918
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packer/plugin-getter/plugins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestPlugin_ListInstallations(t *testing.T) {
{
"darwin_amazon_prot_5.0",
fields{
Identifier: "amazon",
Identifier: "github.com/hashicorp/amazon",
},
ListInstallationsOptions{
[]string{
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestPlugin_ListInstallations(t *testing.T) {
{
"darwin_amazon_prot_5.1",
fields{
Identifier: "amazon",
Identifier: "github.com/hashicorp/amazon",
},
ListInstallationsOptions{
[]string{
Expand Down Expand Up @@ -121,7 +121,7 @@ func TestPlugin_ListInstallations(t *testing.T) {
{
"windows_amazon",
fields{
Identifier: "amazon",
Identifier: "github.com/hashicorp/amazon",
},
ListInstallationsOptions{
[]string{
Expand Down Expand Up @@ -159,7 +159,7 @@ func TestPlugin_ListInstallations(t *testing.T) {
{
"windows_google_multifolder",
fields{
Identifier: "hashicorp/google",
Identifier: "github.com/hashicorp/google",
},
ListInstallationsOptions{
[]string{
Expand Down Expand Up @@ -542,7 +542,7 @@ func TestRequirement_InstallLatest(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
log.Printf("starting %s test", tt.name)

identifier, diags := addrs.ParsePluginSourceString(tt.fields.Identifier)
identifier, diags := addrs.ParsePluginSourceString("github.com/hashicorp/" + tt.fields.Identifier)
if len(diags) != 0 {
t.Fatalf("ParsePluginSourceString(%q): %v", tt.fields.Identifier, diags)
}
Expand Down

0 comments on commit 632e918

Please sign in to comment.