Skip to content

Commit

Permalink
fix travis test
Browse files Browse the repository at this point in the history
  • Loading branch information
Orlayhemmy committed May 23, 2018
1 parent 2b1bef6 commit 68711fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/user/profile.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let userToken;
describe('GET /api/profile/:username', () => {
const user = {
email: `user${Math.random()}@yahoo.com`,
username: 'money',
username: 'Amarachi',
password: 'password',
imageUr: 'https://www.mmm.png',
};
Expand All @@ -26,7 +26,7 @@ describe('GET /api/profile/:username', () => {

it('should return the user info and personal game logs', (done) => {
request(app)
.get('/api/profile/money')
.get('/api/profile/Amarachi')
.set('card-game-token', `${userToken}`)
.expect(200)
.end((req, res) => {
Expand Down

0 comments on commit 68711fd

Please sign in to comment.