Update unit tests to match new placeholder text
This commit is contained in:
parent
52ef1d0b5f
commit
88442fea1e
|
@ -547,10 +547,10 @@ class Settings extends WC_REST_Unit_Test_Case {
|
|||
array(
|
||||
'id' => 'subject',
|
||||
'label' => 'Subject',
|
||||
'description' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'description' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'tip' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'tip' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'value' => '',
|
||||
'group_id' => 'email_new_order',
|
||||
),
|
||||
|
@ -571,10 +571,10 @@ class Settings extends WC_REST_Unit_Test_Case {
|
|||
array(
|
||||
'id' => 'subject',
|
||||
'label' => 'Subject',
|
||||
'description' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'description' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'tip' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'tip' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'value' => 'This is my subject',
|
||||
'group_id' => 'email_new_order',
|
||||
),
|
||||
|
|
|
@ -546,10 +546,10 @@ class Settings_V2 extends WC_REST_Unit_Test_Case {
|
|||
array(
|
||||
'id' => 'subject',
|
||||
'label' => 'Subject',
|
||||
'description' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'description' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'tip' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'tip' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'value' => '',
|
||||
),
|
||||
$setting
|
||||
|
@ -569,10 +569,10 @@ class Settings_V2 extends WC_REST_Unit_Test_Case {
|
|||
array(
|
||||
'id' => 'subject',
|
||||
'label' => 'Subject',
|
||||
'description' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'description' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'type' => 'text',
|
||||
'default' => '',
|
||||
'tip' => 'Available placeholders: <code>{site_title}, {order_date}, {order_number}</code>',
|
||||
'tip' => 'Available placeholders: <code>{site_title}</code>, <code>{site_address}</code>, <code>{order_date}</code>, <code>{order_number}</code>',
|
||||
'value' => 'This is my subject',
|
||||
),
|
||||
$setting
|
||||
|
|
Loading…
Reference in New Issue