@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | public function test_construct() { |
28 | 28 | $payment = new Payment(); |
29 | 29 | |
30 | - $this->assertInstanceOf( __NAMESPACE__ . '\Payment', $payment ); |
|
30 | + $this->assertInstanceOf( __NAMESPACE__.'\Payment', $payment ); |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | |
46 | 46 | public function get_and_set_provider() { |
47 | 47 | return array( |
48 | - array( 'set_id', 'get_id', uniqid() ), |
|
49 | - array( 'set_transaction_id', 'get_transaction_id', uniqid() ), |
|
50 | - array( 'set_status', 'get_status', 'completed' ), |
|
48 | + array( 'set_id', 'get_id', uniqid() ), |
|
49 | + array( 'set_transaction_id', 'get_transaction_id', uniqid() ), |
|
50 | + array( 'set_status', 'get_status', 'completed' ), |
|
51 | 51 | ); |
52 | 52 | } |
53 | 53 | |
@@ -66,11 +66,11 @@ discard block |
||
66 | 66 | |
67 | 67 | public function set_provider() { |
68 | 68 | return array( |
69 | - array( 'set_consumer_name', 'consumer_name', 'John Doe' ), |
|
69 | + array( 'set_consumer_name', 'consumer_name', 'John Doe' ), |
|
70 | 70 | array( 'set_consumer_account_number', 'consumer_account_number', '1086.34.779' ), |
71 | - array( 'set_consumer_iban', 'consumer_iban', 'NL56 RABO 0108 6347 79' ), |
|
72 | - array( 'set_consumer_bic', 'consumer_bic', 'RABONL2U' ), |
|
73 | - array( 'set_consumer_city', 'consumer_city', 'Drachten' ), |
|
71 | + array( 'set_consumer_iban', 'consumer_iban', 'NL56 RABO 0108 6347 79' ), |
|
72 | + array( 'set_consumer_bic', 'consumer_bic', 'RABONL2U' ), |
|
73 | + array( 'set_consumer_city', 'consumer_city', 'Drachten' ), |
|
74 | 74 | ); |
75 | 75 | } |
76 | 76 | |
@@ -89,25 +89,25 @@ discard block |
||
89 | 89 | |
90 | 90 | public function get_provider() { |
91 | 91 | return array( |
92 | - array( 'order_id', 'get_order_id', 1234 ), |
|
93 | - array( 'amount', 'get_amount', 89.95 ), |
|
94 | - array( 'currency', 'get_currency', 'EUR' ), |
|
95 | - array( 'method', 'get_method', 'ideal' ), |
|
96 | - array( 'issuer', 'get_issuer', 'ideal_KNABNL2H' ), |
|
97 | - array( 'language', 'get_language', 'nl' ), |
|
98 | - array( 'locale', 'get_locale', 'nl_NL' ), |
|
99 | - array( 'description', 'get_description', 'Lorem ipsum dolor sit amet, consectetur.' ), |
|
100 | - array( 'email', 'get_email', '[email protected]' ), |
|
101 | - array( 'first_name', 'get_first_name', 'John' ), |
|
102 | - array( 'last_name', 'get_last_name', 'Doe' ), |
|
103 | - array( 'customer_name', 'get_customer_name', 'John Doe' ), |
|
104 | - array( 'address', 'get_address', 'Burgemeester Wuiteweg 39b' ), |
|
105 | - array( 'city', 'get_city', 'Drachten' ), |
|
106 | - array( 'zip', 'get_zip', '9203 KA' ), |
|
107 | - array( 'country', 'get_country', 'NL' ), |
|
108 | - array( 'telephone_number', 'get_telephone_number', '1234567890' ), |
|
92 | + array( 'order_id', 'get_order_id', 1234 ), |
|
93 | + array( 'amount', 'get_amount', 89.95 ), |
|
94 | + array( 'currency', 'get_currency', 'EUR' ), |
|
95 | + array( 'method', 'get_method', 'ideal' ), |
|
96 | + array( 'issuer', 'get_issuer', 'ideal_KNABNL2H' ), |
|
97 | + array( 'language', 'get_language', 'nl' ), |
|
98 | + array( 'locale', 'get_locale', 'nl_NL' ), |
|
99 | + array( 'description', 'get_description', 'Lorem ipsum dolor sit amet, consectetur.' ), |
|
100 | + array( 'email', 'get_email', '[email protected]' ), |
|
101 | + array( 'first_name', 'get_first_name', 'John' ), |
|
102 | + array( 'last_name', 'get_last_name', 'Doe' ), |
|
103 | + array( 'customer_name', 'get_customer_name', 'John Doe' ), |
|
104 | + array( 'address', 'get_address', 'Burgemeester Wuiteweg 39b' ), |
|
105 | + array( 'city', 'get_city', 'Drachten' ), |
|
106 | + array( 'zip', 'get_zip', '9203 KA' ), |
|
107 | + array( 'country', 'get_country', 'NL' ), |
|
108 | + array( 'telephone_number', 'get_telephone_number', '1234567890' ), |
|
109 | 109 | array( 'analytics_client_id', 'get_analytics_client_id', 'GA1.2.1234567890.1234567890' ), |
110 | - array( 'entrance_code', 'get_entrance_code', uniqid() ), |
|
110 | + array( 'entrance_code', 'get_entrance_code', uniqid() ), |
|
111 | 111 | ); |
112 | 112 | } |
113 | 113 |