Skip to content

Commit

Permalink
Update packages/e2e-tests/plugins/cpt-locking.php
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Fonseca <[email protected]>
  • Loading branch information
jorgefilipecosta and mcsf committed Oct 16, 2020
1 parent 102407d commit 120abca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/e2e-tests/plugins/cpt-locking.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function gutenberg_test_cpt_locking() {
)
);
register_post_type(
'ul-post-ul-group',
'l-post-ul-group',
array(
'public' => true,
'label' => 'Locked Post Unlocked group',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ exports[`cpt locking template_lock all should not error when deleting the cotent
exports[`cpt locking template_lock all unlocked group should allow blocks to be moved 1`] = `
"<!-- wp:group {\\"templateLock\\":false} -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:paragraph {\\"placeholder\\":\\"Add a description343\\"} -->
<div class=\\"wp-block-group\\"><div class=\\"wp-block-group__inner-container\\"><!-- wp:paragraph {\\"placeholder\\":\\"Add a description\\"} -->
<p>p1</p>
<!-- /wp:paragraph -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ describe( 'cpt locking', () => {
describe( 'template_lock all unlocked group', () => {
beforeEach( async () => {
await createNewPost( {
postType: 'ul-post-ul-group',
postType: 'l-post-ul-group',
} );
} );

Expand Down

0 comments on commit 120abca

Please sign in to comment.