LdPaymentsFunctionsTest
Class to test the ld-payments-functions.php file.
Description #
Source #
File: tests/phpunit/includes/payments/LdPaymentsFunctionsTest.php
Methods #
- 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_formatted — Test the learndash_get_price_formatted function.
- testNumberFormatterClassExists — Test if NumberFormatter class (PHP module intl) is loaded.