mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
apiDoc: meta (#8167)
* apiDoc: meta * Update modelsPaths.js * Update error * fix test * Update GET-model_paths.test.js * Fixed test
This commit is contained in:
@@ -10,7 +10,7 @@ describe('GET /models/:model/paths', () => {
|
||||
user = await generateUser();
|
||||
});
|
||||
|
||||
it('returns an error when model is not accessible or doesn\'t exists', async () => {
|
||||
it('returns an error when model is not accessible or doesn\'t exist', async () => {
|
||||
await expect(user.get('/models/1234/paths')).to.eventually.be.rejected.and.eql({
|
||||
code: 400,
|
||||
error: 'BadRequest',
|
||||
|
||||
Reference in New Issue
Block a user