diff --git a/tests/acceptance/content-test.js b/tests/acceptance/content-test.js index 5a6f26424..ce4d299e7 100644 --- a/tests/acceptance/content-test.js +++ b/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');