installer: fix old-style Components references

This commit is contained in:
Markus Rudy 2023-12-11 14:50:18 +01:00
parent 22dcde86af
commit 767bac4766

View file

@ -72,8 +72,8 @@ func TestInstall(t *testing.T) {
}, },
"hash is not mandatory": { "hash is not mandatory": {
server: newHTTPBufconnServerWithBody([]byte("file-contents")), server: newHTTPBufconnServerWithBody([]byte("file-contents")),
component: components.Component{ component: &components.Component{
URL: serverURL, Url: serverURL,
Hash: "", Hash: "",
InstallPath: "/destination", InstallPath: "/destination",
}, },