Browse Source

HHVM produces valid XML ouput for CommandListShell, although not the same

Jose Lorenzo Rodriguez 11 years ago
parent
commit
6109d89888
1 changed files with 3 additions and 4 deletions
  1. 3 4
      tests/TestCase/Shell/CommandListShellTest.php

+ 3 - 4
tests/TestCase/Shell/CommandListShellTest.php

@@ -113,19 +113,18 @@ class CommandListShellTest extends TestCase
      */
     public function testMainXml()
     {
-        $this->assertFalse(defined('HHVM_VERSION'), 'Remove when travis updates to hhvm 2.5');
         $this->Shell->params['xml'] = true;
         $this->Shell->main();
 
         $output = $this->out->output;
 
-        $find = '<shell name="sample" call_as="sample" provider="app" help="sample -h"/>';
+        $find = '<shell name="sample" call_as="sample" provider="app" help="sample -h"';
         $this->assertContains($find, $output);
 
-        $find = '<shell name="orm_cache" call_as="orm_cache" provider="CORE" help="orm_cache -h"/>';
+        $find = '<shell name="orm_cache" call_as="orm_cache" provider="CORE" help="orm_cache -h"';
         $this->assertContains($find, $output);
 
-        $find = '<shell name="welcome" call_as="TestPluginTwo.welcome" provider="TestPluginTwo" help="TestPluginTwo.welcome -h"/>';
+        $find = '<shell name="welcome" call_as="TestPluginTwo.welcome" provider="TestPluginTwo" help="TestPluginTwo.welcome -h"';
         $this->assertContains($find, $output);
     }
 }