Skip to content

Commit

Permalink
Rename test classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed Feb 27, 2024
1 parent 9925ddd commit 1edf1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers gutenberg_delete_font_post_meta_caps
*/
class Tests_Fonts_GutenbergDeleteFontPostMetaCaps extends WP_UnitTestCase {
class Tests_Fonts_DeleteFontPostMetaCaps extends WP_UnitTestCase {
public function test_should_return_original_caps_when_do_not_allow_is_present() {
$caps = array( 'don_not_allow' );
$result = gutenberg_delete_font_post_meta_caps( $caps, 'some_cap', 1, array( 999 ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers gutenberg_maybe_grant_upload_font_cap
*/
class Tests_Fonts_GutenbergMaybeGrantUploadFontCap extends WP_UnitTestCase {
class Tests_Fonts_MaybeGrantUploadFontCap extends WP_UnitTestCase {
public function set_up() {
parent::set_up();
add_filter( 'font_dir', array( $this, 'mock_wp_get_font_dir' ) );
Expand Down

0 comments on commit 1edf1ac

Please sign in to comment.