File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ func TestNetworkServerSessionAssetACLIndependent(t *testing.T) {
753753 t .Run ("read allowed delete denied" , func (t * testing.T ) {
754754 readOnlyACL := & ControlPlaneACL {
755755 mode : ACLModeStrict ,
756- allow : map [RequestSource ]map [string ]struct {}{RequestSourceHTTP : { sessionAssetReadMethod : {}} },
756+ allow : map [RequestSource ]map [string ]struct {}{RequestSourceHTTP : normalizedMethodSet ( sessionAssetReadMethod ) },
757757 enabled : true ,
758758 }
759759 runtimePort := & runtimePortEventStub {
@@ -797,7 +797,7 @@ func TestNetworkServerSessionAssetACLIndependent(t *testing.T) {
797797 t .Run ("delete allowed read denied" , func (t * testing.T ) {
798798 deleteOnlyACL := & ControlPlaneACL {
799799 mode : ACLModeStrict ,
800- allow : map [RequestSource ]map [string ]struct {}{RequestSourceHTTP : { sessionAssetDeleteMethod : {}} },
800+ allow : map [RequestSource ]map [string ]struct {}{RequestSourceHTTP : normalizedMethodSet ( sessionAssetDeleteMethod ) },
801801 enabled : true ,
802802 }
803803 runtimePort := & runtimePortEventStub {
You can’t perform that action at this time.
0 commit comments