Passed
Push — develop ( 0321f9...73d743 )
by Reüel
09:16 queued 04:10
created
tests/Payments/PaymentTest.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@  discard block
 block discarded – undo
46 46
 
47 47
 	public function get_and_set_provider() {
48 48
 		return array(
49
-			array( 'set_amount',         'get_amount',         new Money( 89.95, 'EUR' ) ),
50
-			array( 'set_id',             'get_id',             uniqid()    ),
51
-			array( 'set_transaction_id', 'get_transaction_id', uniqid()    ),
52
-			array( 'set_status',         'get_status',         'completed' ),
49
+			array( 'set_amount', 'get_amount', new Money( 89.95, 'EUR' ) ),
50
+			array( 'set_id', 'get_id', uniqid() ),
51
+			array( 'set_transaction_id', 'get_transaction_id', uniqid() ),
52
+			array( 'set_status', 'get_status', 'completed' ),
53 53
 		);
54 54
 	}
55 55
 
@@ -68,11 +68,11 @@  discard block
 block discarded – undo
68 68
 
69 69
 	public function set_provider() {
70 70
 		return array(
71
-			array( 'set_consumer_name',           'consumer_name',           'John Doe' ),
71
+			array( 'set_consumer_name', 'consumer_name', 'John Doe' ),
72 72
 			array( 'set_consumer_account_number', 'consumer_account_number', '1086.34.779' ),
73
-			array( 'set_consumer_iban',           'consumer_iban',           'NL56 RABO 0108 6347 79' ),
74
-			array( 'set_consumer_bic',            'consumer_bic',            'RABONL2U' ),
75
-			array( 'set_consumer_city',           'consumer_city',           'Drachten' ),
73
+			array( 'set_consumer_iban', 'consumer_iban', 'NL56 RABO 0108 6347 79' ),
74
+			array( 'set_consumer_bic', 'consumer_bic', 'RABONL2U' ),
75
+			array( 'set_consumer_city', 'consumer_city', 'Drachten' ),
76 76
 		);
77 77
 	}
78 78
 
@@ -91,23 +91,23 @@  discard block
 block discarded – undo
91 91
 
92 92
 	public function get_provider() {
93 93
 		return array(
94
-			array( 'order_id',            'get_order_id',            1234 ),
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' ),
94
+			array( 'order_id', 'get_order_id', 1234 ),
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
 
Please login to merge, or discard this patch.
tests/Subscriptions/SubscriptionTest.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
 
45 45
 	public function get_and_set_provider() {
46 46
 		return array(
47
-			array( 'set_amount',         'get_amount',         new Money( 89.95, 'EUR' ) ),
48
-			array( 'set_id',             'get_id',             uniqid()    ),
49
-			array( 'set_status',         'get_status',         'completed' ),
50
-			array( 'set_transaction_id', 'get_transaction_id', uniqid()    ),
47
+			array( 'set_amount', 'get_amount', new Money( 89.95, 'EUR' ) ),
48
+			array( 'set_id', 'get_id', uniqid() ),
49
+			array( 'set_status', 'get_status', 'completed' ),
50
+			array( 'set_transaction_id', 'get_transaction_id', uniqid() ),
51 51
 		);
52 52
 	}
53 53
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 		return array(
74 74
 			array( 'set_consumer_name', 'consumer_name', 'John Doe' ),
75 75
 			array( 'set_consumer_iban', 'consumer_iban', 'NL56 RABO 0108 6347 79' ),
76
-			array( 'set_consumer_bic',  'consumer_bic',  'RABONL2U' ),
76
+			array( 'set_consumer_bic', 'consumer_bic', 'RABONL2U' ),
77 77
 		);
78 78
 	}
79 79
 
@@ -97,13 +97,13 @@  discard block
 block discarded – undo
97 97
 	 */
98 98
 	public function get_provider() {
99 99
 		return array(
100
-			array( 'key',                 'get_key',             uniqid() ),
101
-			array( 'source',              'get_source',          'woocommerce' ),
102
-			array( 'source_id',           'get_source_id',       '1234' ),
103
-			array( 'frequency',           'get_frequency',       'daily' ),
104
-			array( 'interval',            'get_interval',        '1' ),
105
-			array( 'interval_period',     'get_interval_period', 'Y' ),
106
-			array( 'description',         'get_description',     'Lorem ipsum dolor sit amet, consectetur.' ),
100
+			array( 'key', 'get_key', uniqid() ),
101
+			array( 'source', 'get_source', 'woocommerce' ),
102
+			array( 'source_id', 'get_source_id', '1234' ),
103
+			array( 'frequency', 'get_frequency', 'daily' ),
104
+			array( 'interval', 'get_interval', '1' ),
105
+			array( 'interval_period', 'get_interval_period', 'Y' ),
106
+			array( 'description', 'get_description', 'Lorem ipsum dolor sit amet, consectetur.' ),
107 107
 		);
108 108
 	}
109 109
 
Please login to merge, or discard this patch.