Skip to content

Commit

Permalink
Fix curly brances in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jul 20, 2023
1 parent ee13044 commit 6eaa7f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tests/functional/WPDbAttachmentCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public function should_not_create_any_additional_image_when_adding_non_image_att
}

$I->seeUploadedFileFound('pdf-doc.pdf', 'now');
$I->seePostMetaInDatabase(['post_id' => $id, 'meta_key' => '_wp_attached_file', 'meta_value' => "{$year}/${month}/pdf-doc.pdf"]);
$I->seePostMetaInDatabase(['post_id' => $id, 'meta_key' => '_wp_attached_file', 'meta_value' => "{$year}/{$month}/pdf-doc.pdf"]);
}

/**
Expand Down
3 changes: 0 additions & 3 deletions tests/unit/lucatume/WPBrowser/Module/WPQueriesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -982,11 +982,8 @@ public function should_allow_getting_the_queries(): void
}

/**
* ${CARET}
*
* @return wpdb
* @since TBD
*
*/
protected function getWpdb(): wpdb
{
Expand Down

0 comments on commit 6eaa7f1

Please sign in to comment.