Passed
Pull Request — master (#23)
by
unknown
02:23
created
tests/HTML5ValueTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     {
82 82
         ShortcodeParser::get('default')->register(
83 83
             'test_shortcode',
84
-            function () {
84
+            function() {
85 85
                 return 'bit of test shortcode output';
86 86
             }
87 87
         );
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             'ExternalURL' => 'https://google.com/search?q=unit&test'
120 120
         ]);
121 121
         $page->write();
122
-        $content = '[sitetree_link,id=' . $page->ID . ']test link[/sitetree_link]';
122
+        $content = '[sitetree_link,id='.$page->ID.']test link[/sitetree_link]';
123 123
         $expected = '<a href="https://google.com/search?q=unit&amp;test">test link</a>';
124 124
         $output = DBHTMLText::create('Test', ['shortcodes' => true])
125 125
             ->setValue($content)
Please login to merge, or discard this patch.