@@ -152,7 +152,7 @@ describe("Arts", function () {
152152 it ( "Should get all the arts of the user" , function ( done ) {
153153 chai
154154 . request ( app )
155- . get ( `/arts/${ userId } ?dev=true ` )
155+ . get ( `/arts/${ userId } ` )
156156 . set ( "cookie" , `${ cookieName } =${ jwt } ` )
157157 . end ( ( err , res ) => {
158158 if ( err ) {
@@ -172,7 +172,7 @@ describe("Arts", function () {
172172 it ( "Should return 401, for Unauthenticated User" , function ( done ) {
173173 chai
174174 . request ( app )
175- . get ( `/arts/${ userId } ?dev=true ` )
175+ . get ( `/arts/${ userId } ` )
176176 . end ( ( err , res ) => {
177177 if ( err ) {
178178 return done ( err ) ;
@@ -195,7 +195,7 @@ describe("Arts", function () {
195195
196196 chai
197197 . request ( app )
198- . get ( `/arts/${ userId } ?dev=true ` )
198+ . get ( `/arts/${ userId } ` )
199199 . set ( "cookie" , `${ cookieName } =${ jwt } ` )
200200 . end ( ( err , res ) => {
201201 artsQuery . fetchUserArts . restore ( ) ;
@@ -215,7 +215,7 @@ describe("Arts", function () {
215215
216216 chai
217217 . request ( app )
218- . get ( `/arts/${ userId } ?dev=true ` )
218+ . get ( `/arts/${ userId } ` )
219219 . set ( "cookie" , `${ cookieName } =${ jwt } ` )
220220 . end ( ( err , res ) => {
221221 artsQuery . fetchUserArts . restore ( ) ;
0 commit comments