mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55:26 +02:00
fix unit test
This commit is contained in:
parent
ef38b30ad1
commit
a48e9474be
1 changed files with 2 additions and 1 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