MDL-40682 blogs: Replace legacy event and log triggers with events2
MDL-40682 phpunit: Add unittests for \core_blog\event\entry_added()