@@ -152,7 +152,7 @@ describe("Arts", function () {
152
152
it ( "Should get all the arts of the user" , function ( done ) {
153
153
chai
154
154
. request ( app )
155
- . get ( `/arts/${ userId } ?dev=true ` )
155
+ . get ( `/arts/${ userId } ` )
156
156
. set ( "cookie" , `${ cookieName } =${ jwt } ` )
157
157
. end ( ( err , res ) => {
158
158
if ( err ) {
@@ -172,7 +172,7 @@ describe("Arts", function () {
172
172
it ( "Should return 401, for Unauthenticated User" , function ( done ) {
173
173
chai
174
174
. request ( app )
175
- . get ( `/arts/${ userId } ?dev=true ` )
175
+ . get ( `/arts/${ userId } ` )
176
176
. end ( ( err , res ) => {
177
177
if ( err ) {
178
178
return done ( err ) ;
@@ -195,7 +195,7 @@ describe("Arts", function () {
195
195
196
196
chai
197
197
. request ( app )
198
- . get ( `/arts/${ userId } ?dev=true ` )
198
+ . get ( `/arts/${ userId } ` )
199
199
. set ( "cookie" , `${ cookieName } =${ jwt } ` )
200
200
. end ( ( err , res ) => {
201
201
artsQuery . fetchUserArts . restore ( ) ;
@@ -215,7 +215,7 @@ describe("Arts", function () {
215
215
216
216
chai
217
217
. request ( app )
218
- . get ( `/arts/${ userId } ?dev=true ` )
218
+ . get ( `/arts/${ userId } ` )
219
219
. set ( "cookie" , `${ cookieName } =${ jwt } ` )
220
220
. end ( ( err , res ) => {
221
221
artsQuery . fetchUserArts . restore ( ) ;
0 commit comments