@@ -23,6 +23,7 @@ module.exports = {
2323 . set ( "Accept" , "application/json" ) ;
2424 return response ;
2525 } ,
26+
2627 testCreateUser : async ( userNo ) => {
2728 const response = await request
2829 . post ( "/graphql" )
@@ -64,6 +65,7 @@ module.exports = {
6465 . set ( "Accept" , "application/json" ) ;
6566 return response ;
6667 } ,
68+
6769 testLoginUser : async ( userNo ) => {
6870 const response = await request
6971 . post ( "/graphql" )
@@ -95,6 +97,7 @@ module.exports = {
9597 . set ( "Accept" , "application/json" ) ;
9698 return response ;
9799 } ,
100+
98101 testCreateCategory : async ( token ) => {
99102 const response = await request
100103 . post ( "/graphql" )
@@ -120,6 +123,7 @@ module.exports = {
120123 . set ( "Authorization" , `Bearer ${ token } ` ) ;
121124 return response ;
122125 } ,
126+
123127 testCreateTopic : async ( token , categoryId ) => {
124128 const response = await request
125129 . post ( "/graphql" )
@@ -152,6 +156,7 @@ module.exports = {
152156 . set ( "Authorization" , `Bearer ${ token } ` ) ;
153157 return response ;
154158 } ,
159+
155160 testCreateMessage : async ( token , topicId ) => {
156161 const response = await request
157162 . post ( "/graphql" )
@@ -171,6 +176,7 @@ module.exports = {
171176 . set ( "Authorization" , `Bearer ${ token } ` ) ;
172177 return response ;
173178 } ,
179+
174180 testCreateTask : async (
175181 token ,
176182 topicId ,
@@ -273,4 +279,4 @@ module.exports = {
273279 }
274280 return response ;
275281 } ,
276- } ;
282+ } ;
0 commit comments