Skip to content

Commit 0a541d9

Browse files
author
Anton Kartsev
committed
added test for entered event
1 parent d398935 commit 0a541d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/WorkflowSubscriberTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function testIfWorkflowEmitsEvents()
4444
$this->assertTrue($events[5] == "workflow.straight.transition");
4545
$this->assertTrue($events[6] instanceof \Brexis\LaravelWorkflow\Events\EnterEvent);
4646
$this->assertTrue($events[7] == "workflow.straight.enter");
47+
$this->assertTrue($events[8] instanceof \Brexis\LaravelWorkflow\Events\EnteredEvent);
48+
$this->assertTrue($events[9] == "workflow.straight.entered");
4749
}
4850
}
4951
}

0 commit comments

Comments
 (0)