-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WEB-4061: Test senaryo datalarının v4'te kullanılabilir olmasının sağlanması #64
WEB-4061: Test senaryo datalarının v4'te kullanılabilir olmasının sağlanması #64
Conversation
…n-v-4-te-kullanilabilir-olmasinin-saglanmasi' into WEB-4061-test-senaryo-datalarinin-v-4-te-kullanilabilir-olmasinin-saglanmasi # Conflicts: # tests/Stubs/Machines/ScenarioMachine.php
src/Definition/MachineDefinition.php
Outdated
@@ -57,6 +57,9 @@ class MachineDefinition | |||
/** The initial state definition for this machine definition. */ | |||
public ?StateDefinition $initialStateDefinition = null; | |||
|
|||
/** Indicates whether the scenario is enabled. */ | |||
public bool $scenarioEnabled = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bunu cogul yapmak lazim, senaryolar aktif gibi scenariosEnabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Güncellendi
tests/ScenarioTest.php
Outdated
use Tarfinlabs\EventMachine\Definition\MachineDefinition; | ||
use Tarfinlabs\EventMachine\Tests\Stubs\Machines\ScenarioMachine; | ||
|
||
it('the scenario runs if the scenario is active', function (): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test('scenarios run if scenarios enabled')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Güncellendi
use Tarfinlabs\EventMachine\ContextManager; | ||
use Tarfinlabs\EventMachine\Definition\MachineDefinition; | ||
|
||
class ScenarioMachine extends Machine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MachineWithScenarios
gibi bisi yaparsak daha anlasilir olacak, senaryo ureten bi makine degil, senaryolari olan bi' bakine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Güncellendi
No description provided.