mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
add assertion for newUser field on registration
This commit is contained in:
@@ -34,6 +34,7 @@ describe('POST /user/auth/local/register', () => {
|
||||
expect(user.apiToken).to.exist;
|
||||
expect(user.auth.local.username).to.eql(username);
|
||||
expect(user.profile.name).to.eql(username);
|
||||
expect(user.newUser).to.eql(true);
|
||||
});
|
||||
|
||||
it('provides default tags and tasks', async () => {
|
||||
|
||||
Reference in New Issue
Block a user