test: improve graph share accept/decline test coverage
This commit is contained in:
committed by
Ralf Haferkamp
parent
7384297728
commit
0bd97c9178
@@ -75,7 +75,7 @@ func (g Graph) GetGatewayClient(w http.ResponseWriter, r *http.Request) (gateway
|
||||
return gatewayClient, true
|
||||
}
|
||||
|
||||
// IsShareJail returns true if the resourceID is a share jail.
|
||||
// IsShareJail returns true if given id is a share jail id.
|
||||
func IsShareJail(id storageprovider.ResourceId) bool {
|
||||
return id.GetStorageId() == utils.ShareStorageProviderID && id.GetSpaceId() == utils.ShareStorageSpaceID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user