mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-22 06:39:42 +02:00
remove pages (#27)
* remove pages * requested changes and unit tests * update * fix unit test * requested changes * add confirmation * remove deeply * remove log * bugfix * update placeholder
This commit is contained in:
parent
d872e78339
commit
ccd627151f
20 changed files with 265 additions and 44 deletions
|
@ -32,6 +32,7 @@ describe('Aliases REST: ', () => {
|
|||
|
||||
it('Finding page with alias', async () => {
|
||||
const body = {
|
||||
time: 1548375408533,
|
||||
blocks: [
|
||||
{
|
||||
type: 'header',
|
||||
|
@ -51,7 +52,7 @@ describe('Aliases REST: ', () => {
|
|||
|
||||
const {result: {uri}} = put.body;
|
||||
|
||||
const get = await agent.get(`/${uri}`);
|
||||
const get = await agent.get('/' + uri);
|
||||
|
||||
expect(get).to.have.status(200);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue