Merge pull request #13259 from agh1/disabled-expired-mem
[civicrm-core.git] / tests / phpunit / CRM / Core / Smarty / plugins / CrmScopeTest.php
index 7c6efc32b69d6c1d04305c72377bbdd224fb88f1..79ddcbcff4d137d7679d10e14e4f414f0506ea1b 100644 (file)
@@ -1,9 +1,8 @@
 <?php
 
-require_once 'CiviTest/CiviUnitTestCase.php';
-
 /**
  * Class CRM_Core_Smarty_plugins_CrmScopeTest
+ * @group headless
  */
 class CRM_Core_Smarty_plugins_CrmScopeTest extends CiviUnitTestCase {
   public function setUp() {
@@ -28,12 +27,12 @@ class CRM_Core_Smarty_plugins_CrmScopeTest extends CiviUnitTestCase {
     $cases[] = array('x=1 x=2 x=1', '{crmScope x=1}x={$x} {crmScope x=2}x={$x}{/crmScope} x={$x}{/crmScope}');
     $cases[] = array(
       'x=1 x=2 x=3 x=2 x=1',
-      '{crmScope x=1}x={$x} {crmScope x=2}x={$x} {crmScope x=3}x={$x}{/crmScope} x={$x}{/crmScope} x={$x}{/crmScope}'
+      '{crmScope x=1}x={$x} {crmScope x=2}x={$x} {crmScope x=3}x={$x}{/crmScope} x={$x}{/crmScope} x={$x}{/crmScope}',
     );
     $cases[] = array('x=1,y=9', '{crmScope x=1 y=9}x={$x},y={$y}{/crmScope}');
     $cases[] = array(
       'x=1,y=9 x=1,y=8 x=1,y=9',
-      '{crmScope x=1 y=9}x={$x},y={$y} {crmScope y=8}x={$x},y={$y}{/crmScope} x={$x},y={$y}{/crmScope}'
+      '{crmScope x=1 y=9}x={$x},y={$y} {crmScope y=8}x={$x},y={$y}{/crmScope} x={$x},y={$y}{/crmScope}',
     );
     $cases[] = array('x=', 'x={$x}');
     return $cases;