Comments

EugeneYurkov created an issue. See original summary.

kaynen’s picture

Status: Active » Needs review
+++ b/tests/src/Kernel/EventSubscriber/DependencyCollector/WorkflowCollectorTest.php
@@ -0,0 +1,84 @@
+    $workflow->getTypePlugin()
+      ->addEntityTypeAndBundle($entity->getEntityTypeId(), $entity->bundle());
+    $workflow->save();

This could be simplified to something like this:

$this->addEntityTypeAndBundleToWorkflow($workflow, $entity->getEntityTypeId(), $entity->bundle());

Putting into "Needs Review" to run the test.

EugeneYurkov’s picture

StatusFileSize
new12.32 KB

Done.

EugeneYurkov’s picture

StatusFileSize
new2.43 KB

  • kaynen committed 3d6fe6a on 8.x-1.x authored by EugeneYurkov
    Issue #3119173 by EugeneYurkov, kaynen: LCH-3749: As a depcalc...
kaynen’s picture

Status: Needs review » Fixed

Committed to dev and will be in the next release

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.