You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
Using this command in automated integration tests (i.e. with CI Pipelines) with seeded Events is not possible, since it will fail to replay the Events.
What to change
In /src/Console/ReplayCommand.php line 51
48 public function selectProjectors(array $projectorClassNames): ?Collection
49 {
50 if (count($projectorClassNames ?? []) === 0) {
51 if (! $confirmed = $this->confirm('Are you sure you want to replay events to all projectors?', true)) {
52 return null;
53 }
54
55 return $this->projectionist->getProjectors();
56 }
Set the confirm($question, $default=false) default to true.
The text was updated successfully, but these errors were encountered:
What happens
Running the replay command with no-interaction option
-n
will not replay any Events:What should happen
Since there is no
-y
or--force
option, the above command should replay the Events.Why
Using this command in automated integration tests (i.e. with CI Pipelines) with seeded Events is not possible, since it will fail to replay the Events.
What to change
In /src/Console/ReplayCommand.php line 51
Set the
confirm($question, $default=false)
default to true.The text was updated successfully, but these errors were encountered: