Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Konamiman committed Nov 30, 2023
1 parent d46deef commit e48f888
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@ public function test_get_legacy_api_settings_returns_all_settings() {
$sut = new WC_Settings_Advanced();

$expected = array(
'legacy_api_options' => array( 'title', 'sectionend' ),
'woocommerce_api_enabled' => 'checkbox',
'legacy_api_options' => array( 'title', 'sectionend' ),
'woocommerce_api_enabled' => 'checkbox',
'woocommerce_legacy_api_log_enabled' => 'checkbox',
'woocommerce_legacy_api_usage_notice_enabled' => 'checkbox',
);

$settings = $sut->get_settings_for_section( 'legacy_api' );
Expand Down

0 comments on commit e48f888

Please sign in to comment.