Skip to content

Commit

Permalink
corrected test code syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
akobaidan committed Oct 20, 2024
1 parent 389026f commit 02ec6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('Admin Controllers', () => {
it('should load admin dashboard with bug-logs', async () => {
await groups.join('administrators', adminUid);
const dashboards = [
'/admin', '/admin/dashboard/logins', '/admin/dashboard/users', '/admin/dashboard/topics', '/admin/dashboard/searches', 'admin/dashboard/bug-logs',
'/admin', '/admin/dashboard/logins', '/admin/dashboard/users', '/admin/dashboard/topics', '/admin/dashboard/searches', '/admin/dashboard/bug-logs',
];
await async.each(dashboards, async (url) => {
const { response, body } = await request.get(`${nconf.get('url')}${url}`, { jar: jar });
Expand Down

0 comments on commit 02ec6c9

Please sign in to comment.