From a754c3984bc07aa67dfc6abe87f306848fdd5a48 Mon Sep 17 00:00:00 2001 From: Jeff Wendling Date: Wed, 3 Feb 2021 10:36:56 -0500 Subject: [PATCH] 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 --- satellite/console/consolewasm/permission_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satellite/console/consolewasm/permission_test.go b/satellite/console/consolewasm/permission_test.go index 37a5e0570..1c978ae5b 100644 --- a/satellite/console/consolewasm/permission_test.go +++ b/satellite/console/consolewasm/permission_test.go @@ -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) }) }