forked from TrueCloudLab/frostfs-api-go
container: implement SignedDataSource on DeleteRequest message
This commit is contained in:
parent
2d53ebf9c4
commit
eedb97d135
4 changed files with 68 additions and 1 deletions
|
@ -107,3 +107,14 @@ func TestPutRequestGettersSetters(t *testing.T) {
|
|||
require.Equal(t, bACL, m.GetBasicACL())
|
||||
})
|
||||
}
|
||||
|
||||
func TestDeleteRequestGettersSetters(t *testing.T) {
|
||||
t.Run("cid", func(t *testing.T) {
|
||||
cid := CID{1, 2, 3}
|
||||
m := new(DeleteRequest)
|
||||
|
||||
m.SetCID(cid)
|
||||
|
||||
require.Equal(t, cid, m.GetCID())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue