Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Action / PublishActionTest.php
index 04bf1c053e39ccb044c59362306b8bac3936456e..d381de115daa9c7e4fad6d127bbdbec275d82182 100644 (file)
@@ -29,7 +29,7 @@ class PublishActionTest extends KernelTestBase {
    * @covers \Drupal\Core\Action\Plugin\Action\Derivative\EntityPublishedActionDeriver::getDerivativeDefinitions
    */
   public function testGetDerivativeDefinitions() {
-    $deriver = new EntityPublishedActionDeriver(\Drupal::entityTypeManager());
+    $deriver = new EntityPublishedActionDeriver(\Drupal::entityTypeManager(), \Drupal::translation());
     $this->assertArraySubset([
       'entity_test_mulrevpub' => [
         'type' => 'entity_test_mulrevpub',