Needs work
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Payment
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 May 2012 at 13:14 UTC
Updated:
16 Jan 2015 at 12:54 UTC
Jump to comment: Most recent
Comments
Comment #1
marcin.wosinek commentedLooks ok for me.
Comment #2
rszrama commentedNotice that this was just posted as a start; the tests themselves still have @todos that will need to be completed before we commit this.
Comment #3
berdirMy own policy for tests is that some tests (assuming they are correct) are better than no tests, tests will never be "complete" anyway. I added the todo more as an idea for further improvements. I have no plans currently to continue working on this, but it might make it easier for someone else to add more payment related tests if the base structure exists.
I figured out my issue by the way, it was a bug in my module :)
So IMHO, this could be commited as it is, you could also remove the @todo or convert it to a normal comment if you don't like having @todo's :)
Comment #4
rszrama commentedAhh, thanks for the clarification. I had assumed from your OP that you meant this to be expanded before committing, so I interpreted the code comments that way. : P
Comment #5
berdirSetting back to RTBC, as explained, this can be commited IMHO, will hopefully encourage someone to improve it if they don't have to start with nothing.
Comment #6
rszrama commentedSorry I'm just coming back to this; let's get this in, but we need to update it since the example payment method changed from using the simple "Name" based payment details to simulating credit card payment.