satellite/console/consolewasm: assert less about error

this changes from a satellite error to a local encryption
error with the upcoming permissions changes where we only
include keys for the paths that are allowed.

Change-Id: I7aa37cfbaee31a1e54afe0423b283b9f41d9345f
This commit is contained in:
Jeff Wendling 2021-02-03 10:36:56 -05:00
parent 9506b67ca2
commit a754c3984b

View File

@ -94,7 +94,7 @@ func TestSetPermissionWithBuckets(t *testing.T) {
err = uplinkPeer.Upload(ctx, satellitePeer, testbucket1, "file2", testdata)
require.True(t, errs2.IsRPC(err, rpcstatus.PermissionDenied))
_, err = uplinkPeer.Download(ctx, satellitePeer, testbucket2, testfilename)
require.True(t, errs2.IsRPC(err, rpcstatus.PermissionDenied))
require.Error(t, err)
})
}