Update tests
This commit is contained in:
parent
83da0a2283
commit
5170d9f296
|
@ -546,10 +546,10 @@ class Settings_V2 extends WC_REST_Unit_Test_Case {
|
||||||
array(
|
array(
|
||||||
'id' => 'subject',
|
'id' => 'subject',
|
||||||
'label' => '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',
|
'type' => 'text',
|
||||||
'default' => '',
|
'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' => '',
|
'value' => '',
|
||||||
),
|
),
|
||||||
$setting
|
$setting
|
||||||
|
@ -569,10 +569,10 @@ class Settings_V2 extends WC_REST_Unit_Test_Case {
|
||||||
array(
|
array(
|
||||||
'id' => 'subject',
|
'id' => 'subject',
|
||||||
'label' => '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',
|
'type' => 'text',
|
||||||
'default' => '',
|
'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',
|
'value' => 'This is my subject',
|
||||||
),
|
),
|
||||||
$setting
|
$setting
|
||||||
|
|
|
@ -547,10 +547,10 @@ class Settings extends WC_REST_Unit_Test_Case {
|
||||||
array(
|
array(
|
||||||
'id' => 'subject',
|
'id' => 'subject',
|
||||||
'label' => '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',
|
'type' => 'text',
|
||||||
'default' => '',
|
'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' => '',
|
'value' => '',
|
||||||
'group_id' => 'email_new_order',
|
'group_id' => 'email_new_order',
|
||||||
),
|
),
|
||||||
|
@ -571,10 +571,10 @@ class Settings extends WC_REST_Unit_Test_Case {
|
||||||
array(
|
array(
|
||||||
'id' => 'subject',
|
'id' => 'subject',
|
||||||
'label' => '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',
|
'type' => 'text',
|
||||||
'default' => '',
|
'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',
|
'value' => 'This is my subject',
|
||||||
'group_id' => 'email_new_order',
|
'group_id' => 'email_new_order',
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue