Learndash_Admin_Import_Test
Class to test the Learndash_Admin_Import class.
Description #
Source #
File: tests/phpunit/includes/admin/classes-import-export/import/learndash_admin_import_test.php
Methods #
- data_provider_test_extract_media_urls_from_content — Test data for the test_extract_media_urls_from_content.
- data_provider_test_replace_media_from_media_urls — Test data for the test_replace_media_from_media_urls.
- generate_media_dimension_suffix — Generates a random media dimension suffix.
- set_up — Test setup
- tear_down — TearDown test.
- test_extract_media_urls_from_content — Test the extract_media_urls_from_content method.
- test_replace_media_from_media_urls — Test the replace_media_from_media_urls method.