File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export default class Client {
133
133
return this . delete ( URL . richMenu ( richMenuId ) ) ;
134
134
}
135
135
136
- public getUserRichMenuIds ( userId : string ) : Promise < Types . RichMenuId > {
136
+ public getRichMenuIdOfUser ( userId : string ) : Promise < Types . RichMenuId > {
137
137
return this . get ( URL . userRichMenu ( userId ) ) . then ( checkJSON ) ;
138
138
}
139
139
Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ describe("client", () => {
195
195
} ) ;
196
196
} ) ;
197
197
198
- it ( "getUserRichMenuIds " , ( ) => {
199
- return client . getUserRichMenuIds ( "test_user_id" ) . then ( ( res : any ) => {
198
+ it ( "getRichMenuIdOfUser " , ( ) => {
199
+ return client . getRichMenuIdOfUser ( "test_user_id" ) . then ( ( res : any ) => {
200
200
equal ( res . headers . authorization , "Bearer test_channel_access_token" ) ;
201
201
equal ( res . path , "/user/test_user_id/richmenu" ) ;
202
202
equal ( res . method , "GET" ) ;
You can’t perform that action at this time.
0 commit comments