1
0
Fork 0
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:
Murod Khaydarov 2019-01-25 03:22:22 +03:00
parent ef38b30ad1
commit a48e9474be
No known key found for this signature in database
GPG key ID: C480BA53A8D274C5

View file

@ -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);
});