Update test for product download settings.

This commit is contained in:
barryhughes 2021-07-16 12:27:23 -07:00
parent d81eee6b5a
commit 46f9644eae
1 changed files with 5 additions and 4 deletions

View File

@ -136,6 +136,7 @@ class WC_Settings_Products_Test extends WC_Settings_Unit_Test_Case {
$expected = array( $expected = array(
'digital_download_options' => array( 'title', 'sectionend' ), 'digital_download_options' => array( 'title', 'sectionend' ),
'woocommerce_file_download_method' => 'select', 'woocommerce_file_download_method' => 'select',
'woocommerce_downloads_redirect_fallback_allowed' => 'checkbox',
'woocommerce_downloads_require_login' => 'checkbox', 'woocommerce_downloads_require_login' => 'checkbox',
'woocommerce_downloads_grant_access_after_payment' => 'checkbox', 'woocommerce_downloads_grant_access_after_payment' => 'checkbox',
'woocommerce_downloads_add_hash_to_filename' => 'checkbox', 'woocommerce_downloads_add_hash_to_filename' => 'checkbox',