From 46f9644eae10491d114a01470e16bd88fbf7b34e Mon Sep 17 00:00:00 2001 From: barryhughes <3594411+barryhughes@users.noreply.github.com> Date: Fri, 16 Jul 2021 12:27:23 -0700 Subject: [PATCH] Update test for product download settings. --- .../settings/class-wc-settings-products-test.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/php/includes/settings/class-wc-settings-products-test.php b/tests/php/includes/settings/class-wc-settings-products-test.php index 6e8c3b0a741..5f7941e6af6 100644 --- a/tests/php/includes/settings/class-wc-settings-products-test.php +++ b/tests/php/includes/settings/class-wc-settings-products-test.php @@ -134,11 +134,12 @@ class WC_Settings_Products_Test extends WC_Settings_Unit_Test_Case { $settings_ids_and_types = $this->get_ids_and_types( $settings ); $expected = array( - 'digital_download_options' => array( 'title', 'sectionend' ), - 'woocommerce_file_download_method' => 'select', - 'woocommerce_downloads_require_login' => 'checkbox', + 'digital_download_options' => array( 'title', 'sectionend' ), + 'woocommerce_file_download_method' => 'select', + 'woocommerce_downloads_redirect_fallback_allowed' => 'checkbox', + 'woocommerce_downloads_require_login' => 'checkbox', 'woocommerce_downloads_grant_access_after_payment' => 'checkbox', - 'woocommerce_downloads_add_hash_to_filename' => 'checkbox', + 'woocommerce_downloads_add_hash_to_filename' => 'checkbox', ); $this->assertEquals( $expected, $settings_ids_and_types );