@@ -70,7 +70,7 @@ func TestClient_IconSetErrorIfMissingArgs(t *testing.T) {
7070 ctx := slackcontext .MockContext (t .Context ())
7171 fs := afero .NewMemMapFs ()
7272 c , teardown := NewFakeClient (t , FakeClientParams {
73- ExpectedMethod : AppIconSetMethod ,
73+ ExpectedMethod : appIconSetMethod ,
7474 })
7575 defer teardown ()
7676 _ , err := c .IconSet (ctx , fs , "token" , "" , "" )
@@ -82,7 +82,7 @@ func TestClient_IconSetErrorNoFile(t *testing.T) {
8282 ctx := slackcontext .MockContext (t .Context ())
8383 fs := afero .NewMemMapFs ()
8484 c , teardown := NewFakeClient (t , FakeClientParams {
85- ExpectedMethod : AppIconSetMethod ,
85+ ExpectedMethod : appIconSetMethod ,
8686 })
8787 defer teardown ()
8888 _ , err := c .IconSet (ctx , fs , "token" , "12345" , imgFile )
@@ -105,7 +105,7 @@ func TestClient_IconSetErrorResponse(t *testing.T) {
105105 err := png .Encode (myfile , myimage )
106106 require .NoError (t , err )
107107 c , teardown := NewFakeClient (t , FakeClientParams {
108- ExpectedMethod : AppIconSetMethod ,
108+ ExpectedMethod : appIconSetMethod ,
109109 Response : `{"ok":false,"error":"invalid_app"}` ,
110110 })
111111 defer teardown ()
@@ -130,7 +130,7 @@ func TestClient_IconSetSuccess(t *testing.T) {
130130 err := png .Encode (myfile , myimage )
131131 require .NoError (t , err )
132132 c , teardown := NewFakeClient (t , FakeClientParams {
133- ExpectedMethod : AppIconSetMethod ,
133+ ExpectedMethod : appIconSetMethod ,
134134 Response : `{"ok":true}` ,
135135 })
136136 defer teardown ()
0 commit comments