Skip to content

Commit

Permalink
Rename group to FontsLibrary
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromtonya committed Aug 16, 2023
1 parent 8145df1 commit ed4dad7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/__construct-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family::__construct
*/
class Tests_Fonts_WpFontFamily_Construct extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_Construct extends WP_UnitTestCase {

public function test_should_initialize_data() {
$property = new ReflectionProperty( WP_Font_Family::class, 'data' );
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/getData-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family::get_data
*/
class Tests_Fonts_WpFontsLibrary_GetData extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsLibrary_GetData extends WP_UnitTestCase {

/**
* @dataProvider data_should_get_data
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/getDataAsJson-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family::get_data_as_json
*/
class Tests_Fonts_WpFontFamily_GetDataAsJson extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_GetDataAsJson extends WP_UnitTestCase {

/**
* @dataProvider data_should_get_data_as_json
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/getFontPost-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @covers WP_Font_Family::get_font_post
*/
class Tests_Fonts_WpFontFamily_GetFontPost extends WP_Font_Family_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_GetFontPost extends WP_Font_Family_UnitTestCase {

public function test_should_return_post() {
// Set up the post.
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/hasFontFaces-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family::has_font_faces
*/
class Tests_Fonts_WpFontFamily_HasFontFaces extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_HasFontFaces extends WP_UnitTestCase {

public function test_should_return_true_when_check_succeeds() {
$font_data = array(
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/install-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @covers WP_Font_Family::install
*/
class Tests_Fonts_WpFontFamily_Install extends WP_Font_Family_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_Install extends WP_Font_Family_UnitTestCase {

/**
* @dataProvider data_should_not_download_when_no_fontface
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontFamily/uninstall-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @covers WP_Font_Family::uninstall
*/
class Tests_Fonts_WpFontFamily_Uninstall extends WP_Font_Family_UnitTestCase {
class Tests_FontsLibrary_WpFontFamily_Uninstall extends WP_Font_Family_UnitTestCase {

public function test_should_return_error_when_font_not_found() {
// Set up.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family_Utils::get_filename_from_font_face
*/
class Tests_Fonts_WpFontsFamilyUtils_GetFilenameFromFontFace extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsFamilyUtils_GetFilenameFromFontFace extends WP_UnitTestCase {

/**
* @dataProvider data_should_get_filename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family_Utils::has_font_mime_type
*/
class Tests_Fonts_WpFontsFamilyUtils_HasFontMimeType extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsFamilyUtils_HasFontMimeType extends WP_UnitTestCase {

/**
* @dataProvider data_should_succeed_when_has_mime_type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Font_Family_Utils::merge_fonts_data
*/
class Tests_Fonts_WpFontsFamilyUtils_MergeFontsData extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsFamilyUtils_MergeFontsData extends WP_UnitTestCase {

/**
* @dataProvider data_should_fail_merge
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontsLibrary/getFontsDir-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Fonts_Library::get_fonts_dir
*/
class Tests_Fonts_WpFontsLibrary_GetFontsDir extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsLibrary_GetFontsDir extends WP_UnitTestCase {

public function test_get_fonts_dir() {
$this->assertStringEndsWith( '/wp-content/uploads/fonts', WP_Fonts_Library::get_fonts_dir() );
Expand Down
2 changes: 1 addition & 1 deletion phpunit/fonts-library/wpFontsLibrary/setUploadDir-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @covers WP_Fonts_Library::set_upload_dir
*/
class Tests_Fonts_WpFontsLibrary_SetUploadDir extends WP_UnitTestCase {
class Tests_FontsLibrary_WpFontsLibrary_SetUploadDir extends WP_UnitTestCase {

public function test_should_set_fonts_upload_dir() {
$defaults = array(
Expand Down

0 comments on commit ed4dad7

Please sign in to comment.