Ld_Payments_Functions_Test
Class to test the ld-payments-functions.php file.
Description #
Source #
File: tests/phpunit/includes/payments/ld_payments_functions_test.php
Methods #
- data_provider_test_learndash_get_price_as_float — Test data for the test_learndash_get_price_as_float.
- data_provider_test_learndash_get_price_formatted — Test data for the test_learndash_get_price_formatted.
- data_provider_test_learndash_the_currency_symbol — Test data for the test_learndash_get_currency_symbol.
- set_up — Test setup
- test_learndash_get_currency_symbol — Test the learndash_the_currency_symbol function.
- test_learndash_get_price_as_float — Test the learndash_the_currency_symbol function.
- test_learndash_get_price_formatted — Test the learndash_get_price_formatted function.
- test_number_formatter_class_exists — Test if NumberFormatter class (PHP module intl) is loaded.