diff --git a/test/scripts/helpers/open_graph.js b/test/scripts/helpers/open_graph.js index 725d5c099d..a5f54f3772 100644 --- a/test/scripts/helpers/open_graph.js +++ b/test/scripts/helpers/open_graph.js @@ -35,9 +35,9 @@ describe('open_graph', () => { meta({property: 'og:title', content: hexo.config.title}), meta({property: 'og:url'}), meta({property: 'og:site_name', content: hexo.config.title}), + meta({property: 'og:locale', content: hexo.config.language}), meta({property: 'og:updated_time', content: post.updated.toISOString()}), - meta({name: 'twitter:card', content: 'summary'}), - meta({name: 'twitter:title', content: hexo.config.title}) + meta({name: 'twitter:card', content: 'summary'}) ].join('\n')); return Post.removeById(post._id);