diff --git a/ghost/admin/tests/acceptance/content-test.js b/ghost/admin/tests/acceptance/content-test.js index 5a6f26424b..ce4d299e70 100644 --- a/ghost/admin/tests/acceptance/content-test.js +++ b/ghost/admin/tests/acceptance/content-test.js @@ -156,16 +156,17 @@ describe('Acceptance: Content', function () { }); it('can navigate to custom views', async function () { - admin.accessibility = JSON.stringify({ - views: [{ + this.server.create('setting', { + type: 'blog', + key: 'shared_views', + value: JSON.stringify([{ route: 'posts', name: 'My posts', filter: { author: admin.slug } - }] + }]) }); - admin.save(); await visit('/posts');