import jwt from 'jsonwebtoken';

const userOneId = '1';
const userTwoId = '2';

const users = [{
  id: userOneId,
  email: 'someemail@email.com',
  password: 'somepassword',
  username: 'someusername',
  tokens: [{
    access: 'auth',
    token: jwt.sign({ id: userOneId }, process.env.SECRET).toString(),
  }],
}, {
  id: userTwoId,
  email: 'someemailtwo@email.com',
  password: 'somepassword',
  username: 'anotherusername',
  tokens: [{
    access: 'auth',
    token: jwt.sign({ id: userTwoId }, process.env.SECRET).toString(),
  }],
}];

export default users;

import jwt from 'jsonwebtoken';

const userOneId = '1';
const userTwoId = '2';

const users = [{
  id: userOneId,
  email: 'someemail@email.com',
  password: 'somepassword',
  username: 'someusername',
  tokens: [{
    access: 'auth',
    token: jwt.sign({ id: userOneId }, 'djksdwdskjdksdskdksjdklsds').toString(),
  }],
}, {
  id: userTwoId,
  email: 'someemailtwo@email.com',
  password: 'somepassword',
  username: 'anotherusername',
  tokens: [{
    access: 'auth',
    token: jwt.sign({ id: userTwoId }, 'djksdwdskjdksdskdksjdklsds').toString(),
  }],
}];

export default users;

Modify secret key for travis
Modify secret key for travis
