Skip to content

Commit

Permalink
Add New tests
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Dec 6, 2022
1 parent e2e6911 commit eb79044
Show file tree
Hide file tree
Showing 10 changed files with 593 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/classes/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function activate_feature( $args, $assoc_args ) {
}

/**
* Dectivate a feature.
* Deactivate a feature.
*
* ## OPTIONS
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public function remove_fields_from_password_protected( $post_args, $post_id ) {
}

/**
* Exclude proctected post from the frontend queries.
* Exclude protected post from the frontend queries.
*
* @since 4.0.0
*
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/Features.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function activate_feature( $slug ) {
}

/**
* Dectivate a feature
* Deactivate a feature
*
* @param string $slug Feature slug
* @param bool $force Whether to force deactivation
Expand Down
2 changes: 1 addition & 1 deletion tests/php/TestAdminNotices.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ function() {
}
);
ElasticPress\Screen::factory()->set_current_screen( 'install' );

add_filter(
'ep_post_pre_meta_keys_db',
function() {
Expand Down
Loading

0 comments on commit eb79044

Please sign in to comment.