Skip to content

Commit

Permalink
Rename test file and correct comments
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Jan 29, 2024
1 parent 5377817 commit 4566ecf
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
<?php
/**
* Test WP_Font_Collection::get_content().
* Test WP_Font_Collection properties.
*
* @package WordPress
* @subpackage Font Library
*
* @group fonts
* @group font-library
*
* @covers WP_Font_Collection::get_content
*/
class Tests_Fonts_WpFontCollection_loadFromJson extends WP_UnitTestCase {
class Tests_Fonts_WpFontCollection_Config extends WP_UnitTestCase {

public function set_up() {
parent::set_up();
Expand Down Expand Up @@ -54,6 +53,8 @@ public function mock_request( $preempt, $args, $url ) {
/**
* @dataProvider data_should_get_json_config
*
* @covers WP_Font_Collection::load_from_json
*
* @param array $config Font collection config options.
* @param array $expected_data Expected output data.
*/
Expand Down Expand Up @@ -106,6 +107,8 @@ public function data_should_get_json_config() {
/**
* @dataProvider data_should_get_php_config
*
* @covers WP_Font_Collection::__construct
*
* @param array $config Font collection config options.
* @param array $expected_data Expected output data.
*/
Expand Down

0 comments on commit 4566ecf

Please sign in to comment.