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:
parent
9506b67ca2
commit
a754c3984b
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user