Skip to content

Commit

Permalink
Ensure links are properly formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber committed May 2, 2018
1 parent e2bf660 commit 67f0f9b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions editor/components/post-sticky/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ describe( 'PostSticky', () => {
const wrapper = shallow(
<PostStickyCheck postType="page" post={ {
_links: {
self: {
self: [ {
href: 'https://w.org/wp-json/wp/v2/posts/5',
},
} ],
},
title: 'Not a stickyable post',
} }>
Expand All @@ -29,9 +29,9 @@ describe( 'PostSticky', () => {
const wrapper = shallow(
<PostStickyCheck postType="post" post={ {
_links: {
self: {
self: [ {
href: 'https://w.org/wp-json/wp/v2/posts/5',
},
} ],
},
title: 'Not a stickyable post',
} }>
Expand All @@ -45,12 +45,12 @@ describe( 'PostSticky', () => {
const wrapper = shallow(
<PostStickyCheck postType="post" post={ {
_links: {
self: {
self: [ {
href: 'https://w.org/wp-json/wp/v2/posts/5',
},
'wp:action-sticky': {
} ],
'wp:action-sticky': [ {
href: 'https://w.org/wp-json/wp/v2/posts/5',
},
} ],
},
title: 'A stickyable post',
} }>
Expand Down

0 comments on commit 67f0f9b

Please sign in to comment.