@@ -32,7 +32,6 @@ func TestHandleCreateSigning(t *testing.T) {
32
32
err := k .SetParams (ctx , params )
33
33
require .NoError (t , err )
34
34
35
- s .MockTSSKeeper .EXPECT ().ConvertContentToBytes (ctx , content ).Return ([]byte ("test" ), nil ).AnyTimes ()
36
35
s .MockTSSKeeper .EXPECT ().GetGroup (ctx , currentGroupID ).Return (currentGroup , nil ).AnyTimes ()
37
36
38
37
type input struct {
@@ -59,7 +58,7 @@ func TestHandleCreateSigning(t *testing.T) {
59
58
s .MockTSSKeeper .EXPECT ().CreateSigning (
60
59
ctx ,
61
60
currentGroup ,
62
- [] byte ( "test" ) ,
61
+ content ,
63
62
).Return (expectCurrentGroupSigning , nil )
64
63
s .MockBankKeeper .EXPECT ().SendCoinsFromAccountToModule (
65
64
ctx ,
@@ -102,7 +101,7 @@ func TestHandleCreateSigning(t *testing.T) {
102
101
s .MockTSSKeeper .EXPECT ().CreateSigning (
103
102
ctx ,
104
103
currentGroup ,
105
- [] byte ( "test" ) ,
104
+ content ,
106
105
).Return (expectCurrentGroupSigning , nil )
107
106
},
108
107
postCheck : func () {
@@ -163,12 +162,12 @@ func TestHandleCreateSigning(t *testing.T) {
163
162
s .MockTSSKeeper .EXPECT ().CreateSigning (
164
163
ctx ,
165
164
currentGroup ,
166
- [] byte ( "test" ) ,
165
+ content ,
167
166
).Return (expectCurrentGroupSigning , nil )
168
167
s .MockTSSKeeper .EXPECT ().CreateSigning (
169
168
ctx ,
170
169
replaceGroup ,
171
- [] byte ( "test" ) ,
170
+ content ,
172
171
).Return (expectReplaceGroupSigning , nil )
173
172
s .MockBankKeeper .EXPECT ().SendCoinsFromAccountToModule (
174
173
ctx ,
@@ -223,7 +222,7 @@ func TestHandleCreateSigning(t *testing.T) {
223
222
s .MockTSSKeeper .EXPECT ().CreateSigning (
224
223
ctx ,
225
224
currentGroup ,
226
- [] byte ( "test" ) ,
225
+ content ,
227
226
).Return (expectCurrentGroupSigning , nil )
228
227
s .MockBankKeeper .EXPECT ().SendCoinsFromAccountToModule (
229
228
ctx ,
0 commit comments