Api/v2 #111

Merged
KevinMidboe merged 88 commits from api/v2 into master 2019-11-04 17:01:16 +00:00
Showing only changes of commit fd475265c1 - Show all commits

View File

@@ -15,6 +15,6 @@ describe('As a user I want error when registering existing username', () => {
.post('/api/v1/user')
.send({ username: 'test_user', password: 'password' })
.expect(401)
.then(response => assert.equal(response.text, '{"success":false,"error":"That username is already registered"}'))
.then(response => assert.equal(response.text, '{"success":false,"message":"That username is already registered"}'))
);
});