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

Working on test coverage #234

Merged
merged 12 commits into from
Sep 24, 2024
Merged

Working on test coverage #234

merged 12 commits into from
Sep 24, 2024

Conversation

nuryagdym
Copy link
Collaborator

No description provided.

@@ -238,7 +238,8 @@ public function makeRegularPayment(array $order, CreditCardInterface $creditCard
$order,
PosInterface::MODEL_NON_SECURE
);
$this->eventDispatcher->dispatch($event);
/** @var RequestDataPreparedEvent $event */
$event = $this->eventDispatcher->dispatch($event);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

these changes introduce a breaking change in laravel-pos library, because of the custom event dispatcher we implemented which does not return $event object.

@nuryagdym nuryagdym merged commit 11d97a2 into master Sep 24, 2024
4 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.

1 participant