Learndash_Admin_Course_Cloning_Test
Class to test the Learndash_Admin_Course_Cloning class.
Description #
Source #
File: tests/phpunit/includes/admin/classes-cloning/learndash_admin_course_cloning_test.php
Methods #
- set_up — Test setup
- test_clone_post_meta_for_invalid_meta — Test clone_post_meta function when the metadata is invalid.
- test_course_cloning_with_shared_steps_disabled — Test if cloning a course with shared steps disabled is fine.
- test_course_cloning_with_shared_steps_enabled — Test if cloning a course with shared steps enabled is fine.
- test_init_register_actions_and_filters — Test if init sets up the hooks.