forked from TrueCloudLab/frostfs-api-go
container: implement SignedDataSource on ListRequest message
This commit is contained in:
parent
a41f22782b
commit
f91adcb560
4 changed files with 69 additions and 2 deletions
|
@ -129,3 +129,14 @@ func TestGetRequestGettersSetters(t *testing.T) {
|
|||
require.Equal(t, cid, m.GetCID())
|
||||
})
|
||||
}
|
||||
|
||||
func TestListRequestGettersSetters(t *testing.T) {
|
||||
t.Run("owner", func(t *testing.T) {
|
||||
owner := OwnerID{1, 2, 3}
|
||||
m := new(PutRequest)
|
||||
|
||||
m.SetOwnerID(owner)
|
||||
|
||||
require.Equal(t, owner, m.GetOwnerID())
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue