fix: disable sha256 for local packages

This commit is contained in:
sh0rez 2019-10-30 17:38:26 +01:00
parent 4de4096004
commit db1aae9b08
No known key found for this signature in database
GPG key ID: 87C71DF9F8181FF1
2 changed files with 17 additions and 3 deletions

View file

@ -50,7 +50,7 @@ func TestInstallCommand(t *testing.T) {
URIs: []string{"jsonnet/foobar"},
ExpectedCode: 0,
ExpectedJsonnetFile: []byte(`{"dependencies": [{"name": "foobar", "source": {"local": {"directory": "jsonnet/foobar"}}, "version": ""}]}`),
ExpectedJsonnetLockFile: []byte(`{"dependencies": [{"name": "foobar", "source": {"local": {"directory": "jsonnet/foobar"}}, "version": "", "sum": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="}]}`),
ExpectedJsonnetLockFile: []byte(`{"dependencies": [{"name": "foobar", "source": {"local": {"directory": "jsonnet/foobar"}}, "version": ""}]}`),
},
}