mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Lint fixes
This commit is contained in:
@@ -69,8 +69,8 @@ describe('GET /heroes/:heroId', () => {
|
||||
});
|
||||
|
||||
it('returns correct hero using search with difference case', async () => {
|
||||
let hero = await generateUser({}, { username: 'TestUpperCaseName123' });
|
||||
let heroRes = await user.get(`/hall/heroes/TestuPPerCasEName123`);
|
||||
await generateUser({}, { username: 'TestUpperCaseName123' });
|
||||
let heroRes = await user.get('/hall/heroes/TestuPPerCasEName123');
|
||||
expect(heroRes.auth.local.username).to.equal('TestUpperCaseName123');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user