MDL-70815 completion: Test internal_get_state() with custom completion
authorJun Pataleta <jun@moodle.com>
Tue, 9 Mar 2021 12:14:46 +0000 (20:14 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 9 Mar 2021 12:15:28 +0000 (20:15 +0800)
commit8d29653fbce70b2451e70020db3b502774473505
tree38ad350de9c84b2893dbf749875ec6008f98f28c
parent2f0914e55f9e35d0b1e0c81cf8498d2faf810f22
MDL-70815 completion: Test internal_get_state() with custom completion

Use the custom completion implementation for mod_choice to test
completion_info::get_state() to cover the case where the completion
state is being determined from the custom completion condition.
lib/tests/completionlib_test.php