Skip to content
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

Conversation

aydinfatih
Copy link
Contributor

No description provided.

aydinfatih and others added 9 commits November 16, 2023 16:00
…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
@@ -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;
Copy link
Member

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

Copy link
Contributor Author

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\Definition\MachineDefinition;
use Tarfinlabs\EventMachine\Tests\Stubs\Machines\ScenarioMachine;

it('the scenario runs if the scenario is active', function (): void {
Copy link
Member

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')

Copy link
Contributor Author

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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Güncellendi

@deligoez deligoez merged commit 1322d0e into main Nov 20, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants