mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-14 02:02:02 -04:00
The mockPluginGetter would always succeed in returning a file from the list of suggested releases, which does not let us test what happens when a release is not yet complete, and a checksum file fails to be fetched from the source. This commit changes this behaviour so that we get an error when a checksum does not exist, mirrorring what happens in real conditions.