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