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 @@ -339,7 +339,7 @@ module.exports = () => {
339
339
githubAccessToken : "githubAccessToken" ,
340
340
} ,
341
341
roles : {
342
- member : false ,
342
+ member : true ,
343
343
} ,
344
344
picture : {
345
345
publicId : "profile/mtS4DhUvNYsKqI7oCWVB/aenklfhtjldc5ytei3ar" ,
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ describe("users", function () {
94
94
} ) ;
95
95
96
96
it ( "It should have created_At and updated_At fields" , async function ( ) {
97
- const userData = userDataArray [ 14 ] ;
97
+ const userData = userDataArray [ 15 ] ;
98
98
await users . addOrUpdate ( userData ) ;
99
99
const githubUsername = "sahsisunny" ;
100
100
const { user, userExists } = await users . fetchUser ( { githubUsername } ) ;
@@ -279,7 +279,7 @@ describe("users", function () {
279
279
} ) ;
280
280
it ( "returns users with member role" , async function ( ) {
281
281
const members = await users . getUsersByRole ( "member" ) ;
282
- expect ( members . length ) . to . be . equal ( 6 ) ;
282
+ expect ( members . length ) . to . be . equal ( 7 ) ;
283
283
members . forEach ( ( member ) => {
284
284
expect ( member . roles . member ) . to . be . equal ( true ) ;
285
285
} ) ;
You can’t perform that action at this time.
0 commit comments