Rename WC_Rest_Settings_Groups_Controller to WC_Rest_Settings_Controller.

This commit is contained in:
Jeff Stieler 2016-06-16 14:19:15 -06:00 committed by Justin Shreve
parent f168f356bc
commit 2fcb15d9cf
3 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* @version 2.7.0
* @since 2.7.0
*/
class WC_Rest_Settings_Groups_Controller extends WC_REST_Settings_API_Controller {
class WC_Rest_Settings_Controller extends WC_REST_Settings_API_Controller {
/**
* WP REST API namespace/version.

View File

@ -164,8 +164,8 @@ class WC_API extends WC_Legacy_API {
include_once( 'api/class-wc-rest-report-sales-controller.php' );
include_once( 'api/class-wc-rest-report-top-sellers-controller.php' );
include_once( 'api/class-wc-rest-reports-controller.php' );
include_once( 'api/class-wc-rest-settings-controller.php' );
include_once( 'api/class-wc-rest-settings-options-controller.php' );
include_once( 'api/class-wc-rest-settings-groups-controller.php' );
include_once( 'api/class-wc-rest-tax-classes-controller.php' );
include_once( 'api/class-wc-rest-taxes-controller.php' );
include_once( 'api/class-wc-rest-webhook-deliveries.php' );
@ -194,8 +194,8 @@ class WC_API extends WC_Legacy_API {
'WC_REST_Report_Sales_Controller',
'WC_REST_Report_Top_Sellers_Controller',
'WC_REST_Reports_Controller',
'WC_Rest_Settings_Controller',
'WC_Rest_Settings_Options_Controller',
'WC_REST_Settings_Groups_Controller',
'WC_REST_Tax_Classes_Controller',
'WC_REST_Taxes_Controller',
'WC_REST_Webhook_Deliveries_Controller',

View File

@ -103,7 +103,7 @@ class Settings extends WC_Unit_Test_Case {
/**
* Test /settings without valid permissions/creds.
* @since 2.7.0
* @covers WC_Rest_Settings_Groups_Controller::get_items
* @covers WC_Rest_Settings_Controller::get_items
*/
public function test_get_groups_none_registered() {
wp_set_current_user( $this->user );