Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / console / Tests / Descriptor / AbstractDescriptorTest.php
index fcbb719b6cd9eee3374b463d0f1d2578c827dd9d..3686e7543b6bbd3657fb31933c70a5abc4961840 100644 (file)
@@ -98,10 +98,10 @@ abstract class AbstractDescriptorTest extends TestCase
         return $data;
     }
 
-    protected function assertDescription($expectedDescription, $describedObject)
+    protected function assertDescription($expectedDescription, $describedObject, array $options = array())
     {
         $output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true);
-        $this->getDescriptor()->describe($output, $describedObject, array('raw_output' => true));
+        $this->getDescriptor()->describe($output, $describedObject, $options + array('raw_output' => true));
         $this->assertEquals(trim($expectedDescription), trim(str_replace(PHP_EOL, "\n", $output->fetch())));
     }
 }