|
@@ -320,12 +320,12 @@ class SlackRecordTest extends TestCase
|
|
|
'short' => false,
|
|
'short' => false,
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'title' => 'tags',
|
|
|
|
|
|
|
+ 'title' => 'Tags',
|
|
|
'value' => sprintf('```%s```', json_encode($extra['tags'])),
|
|
'value' => sprintf('```%s```', json_encode($extra['tags'])),
|
|
|
'short' => false
|
|
'short' => false
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'title' => 'test',
|
|
|
|
|
|
|
+ 'title' => 'Test',
|
|
|
'value' => $context['test'],
|
|
'value' => $context['test'],
|
|
|
'short' => false
|
|
'short' => false
|
|
|
)
|
|
)
|
|
@@ -376,12 +376,12 @@ class SlackRecordTest extends TestCase
|
|
|
|
|
|
|
|
$expected = array(
|
|
$expected = array(
|
|
|
array(
|
|
array(
|
|
|
- 'title' => 'info',
|
|
|
|
|
|
|
+ 'title' => 'Info',
|
|
|
'value' => sprintf('```%s```', json_encode(array('author' => 'Jordi'), $this->jsonPrettyPrintFlag)),
|
|
'value' => sprintf('```%s```', json_encode(array('author' => 'Jordi'), $this->jsonPrettyPrintFlag)),
|
|
|
'short' => false
|
|
'short' => false
|
|
|
),
|
|
),
|
|
|
array(
|
|
array(
|
|
|
- 'title' => 'tags',
|
|
|
|
|
|
|
+ 'title' => 'Tags',
|
|
|
'value' => sprintf('```%s```', json_encode(array('web'))),
|
|
'value' => sprintf('```%s```', json_encode(array('web'))),
|
|
|
'short' => false
|
|
'short' => false
|
|
|
),
|
|
),
|