Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Testing helper class methods in payments API
Copyright: | 2020 Marina Glancy |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 202 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
accounts_testcase:: (10 methods):
enable_paypal_gateway()
test_create_account()
test_update_account_details()
test_update_account_gateways()
test_delete_account()
test_archive_restore_account()
get_rounded_cost_provider()
get_cost_as_string_provider()
test_get_rounded_cost()
test_get_cost_as_string()
Class: accounts_testcase - X-Ref
Testing helper class methods in payments APIenable_paypal_gateway() X-Ref |
No description |
test_create_account() X-Ref |
No description |
test_update_account_details() X-Ref |
No description |
test_update_account_gateways() X-Ref |
No description |
test_delete_account() X-Ref |
No description |
test_archive_restore_account() X-Ref |
No description |
get_rounded_cost_provider() X-Ref |
Provider for format_cost test return: array |
get_cost_as_string_provider() X-Ref |
Provider for test_get_cost_as_string return: array[] |
test_get_rounded_cost(float $amount, string $currency, float $surcharge, float $expected) X-Ref |
Test for test_format_cost function param: float $amount param: string $currency param: float $surcharge param: string $expected |
test_get_cost_as_string(float $amount, string $currency, float $surcharge, string $expected) X-Ref |
Test for get_cost_as_string function param: float $amount param: string $currency param: float $surcharge param: string $expected |