Skip to content

Commit

Permalink
- fix invalid variable uses in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Sep 17, 2024
1 parent e66fdb0 commit 0f9977d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/faustwp/tests/acceptance/CustomPostTypeCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function i_can_view_the_custom_post_type_preview_link(AcceptanceTester $I
$I->wait(4); // Wait for previewlinks.js to modify button href.
$I->seeLink(
'Preview in new tab',
"${front_end_url}/document/${cpt_name}/?preview=true&previewPathname=" . rawurlencode("/document/cpt-document-preview/") . "&p=${cpt_id}&typeName=Document",
"{$front_end_url}/document/{$cpt_name}/?preview=true&previewPathname=" . rawurlencode("/document/cpt-document-preview/") . "&p={$cpt_id}&typeName=Document",
);
}
}
2 changes: 1 addition & 1 deletion plugins/faustwp/tests/acceptance/PostPreviewCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function i_can_view_the_post_preview_link(AcceptanceTester $I)
$I->wait(4); // Wait for previewlinks.js to modify button href.
$I->seeLink(
'Preview in new tab',
"${front_end_url}/${post_name}/?preview=true&previewPathname=" . rawurlencode("/post-preview-post/") . "&p=${post_id}&typeName=Post",
"{$front_end_url}/{$post_name}/?preview=true&previewPathname=" . rawurlencode("/post-preview-post/") . "&p={$post_id}&typeName=Post",
);

$I->click('Preview in new tab');
Expand Down

0 comments on commit 0f9977d

Please sign in to comment.