mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
test: fix test
This commit is contained in:
@@ -138,7 +138,7 @@ describe('Admin Controllers', () => {
|
||||
});
|
||||
|
||||
it('should load general settings page', async () => {
|
||||
const { response, body } = await request.get(`${nconf.get('url')}/admin/settings`, { jar: jar });
|
||||
const { response, body } = await request.get(`${nconf.get('url')}/admin/settings/general`, { jar: jar });
|
||||
assert.equal(response.statusCode, 200);
|
||||
assert(body);
|
||||
});
|
||||
@@ -476,6 +476,12 @@ describe('Admin Controllers', () => {
|
||||
assert(body);
|
||||
});
|
||||
|
||||
it('should load /admin/appearance/skins', async () => {
|
||||
const { response, body } = await request.get(`${nconf.get('url')}/api/admin/appearance/skins`, { jar });
|
||||
assert.equal(response.statusCode, 200);
|
||||
assert(body);
|
||||
});
|
||||
|
||||
it('should load /admin/appearance/customise', async () => {
|
||||
const { response, body } = await request.get(`${nconf.get('url')}/api/admin/appearance/customise`, { jar });
|
||||
assert.equal(response.statusCode, 200);
|
||||
|
||||
Reference in New Issue
Block a user