From 2b48f10b7755ebc0814dd4f09da412e107c7816f Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 28 Jun 2021 12:16:53 -0400 Subject: [PATCH] test: update draft test --- packages/astro/test/plain-markdown.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/test/plain-markdown.test.js b/packages/astro/test/plain-markdown.test.js index e276ceec9..bcbdc5596 100644 --- a/packages/astro/test/plain-markdown.test.js +++ b/packages/astro/test/plain-markdown.test.js @@ -34,8 +34,8 @@ Markdown('Cant load a post being unpublished', async ({ runtime }) => { const result = await runtime.load('/post-unpublished'); assert.type(result.error, 'object') - assert.equal(result.error.message, 'Unpublished document'); - assert.equal(result.statusCode, 404); + assert.equal(result.error.message, 'Document is not published'); + assert.equal(result.statusCode, 403); }); Markdown('Cant load a post being published', async ({ runtime }) => {