Replaced the call to the deprecated LLMS_Lesson::get_parent_course() method with LLMS_Lesson::get( 'parent_course' ).
How has this been tested?
Unable to run at this time.
After running composer update, removing tmp and running tests-install, I get
Error: Looks like you're using PHPUnit 9.5.11. WordPress requires at least PHPUnit 5.7.21 and is currently only compatible with PHPUnit up to 7.x..
Types of changes
Compatibility fix (non-breaking change which fixes an issue)
Checklist:
[ ] My code has been tested.
[ ] My code passes all existing automated tests.
[x] My code follows the LifterLMS Coding & Documentation Standards.
Description
Replaced the call to the deprecated
LLMS_Lesson::get_parent_course()
method withLLMS_Lesson::get( 'parent_course' )
.How has this been tested?
Unable to run at this time.
After running
composer update
, removingtmp
and runningtests-install
, I getError: Looks like you're using PHPUnit 9.5.11. WordPress requires at least PHPUnit 5.7.21 and is currently only compatible with PHPUnit up to 7.x.
.Types of changes
Compatibility fix (non-breaking change which fixes an issue)
Checklist: