Fixed tests
refs 4a53587f3b
- updated tests to use `settings.shared_views` in place of `user.accessibility`
This commit is contained in:
parent
4a53587f3b
commit
db8b913e2d
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue