Skip to content

2862339 - Add event listener to payments#684

Closed
haringsrob wants to merge 2 commits intodrupalcommerce:8.x-2.xfrom
haringsrob:issue/2862339
Closed

2862339 - Add event listener to payments#684
haringsrob wants to merge 2 commits intodrupalcommerce:8.x-2.xfrom
haringsrob:issue/2862339

Conversation

@haringsrob
Copy link
Contributor

@bojanz I did actually provide a test for the following reason:
Even if we "assume" that the default behavior of the dispatcher would work, we will never have coverage for this functionality at all, leaving that file uncovered.

When I created the basic test for the Create event, everything went fine.

When I added the load event, it broke, I checked if ORDER_LOAD was ever called somewhere in the code and it is not, leaving me with 2 questions:

  1. I think it is called dynamically, but I am not sure in what way
  2. I really think it deserves full coverage for all the events, because now we can never say for sure that it actually works.

@haringsrob
Copy link
Contributor Author

Closing in favour of #791

@haringsrob haringsrob closed this Sep 14, 2017
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

Comments