Skip to content

Commit

Permalink
Fix typos in isConfigValid.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jan 25, 2024
1 parent 7608ed5 commit 6fcefd7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ public function data_is_config_valid() {
}

/**
* @dataProvider data_is_config_valid_should_call_doing_ti_wrong
* @dataProvider data_is_config_valid_should_call_doing_it_wrong
*
* @param mixed $config Config of the font collection.
*/
public function test_is_config_valid_should_call_doing_ti_wrong( $config ) {
public function test_is_config_valid_should_call_doing_it_wrong( $config ) {
$this->setExpectedIncorrectUsage( 'WP_Font_Collection::is_config_valid', 'Should call _doing_it_wrong if the config is not valid.' );
$this->assertFalse( WP_Font_Collection::is_config_valid( $config ), 'Should return false if the config is not valid.' );
}

public function data_is_config_valid_should_call_doing_ti_wrong() {
public function data_is_config_valid_should_call_doing_it_wrong() {
return array(
'with missing slug' => array(
'config' => array(
Expand Down

0 comments on commit 6fcefd7

Please sign in to comment.