MDL-65017 mod_forum: Test based on event type and not objectid
authorJun Pataleta <jun@moodle.com>
Fri, 25 Oct 2019 00:32:02 +0000 (08:32 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 25 Oct 2019 00:39:32 +0000 (08:39 +0800)
commitacdce3a0e433ed7b98865d1a96d881683bf30d46
tree9cf25c29d0d7ec009311a5b8697434c46bc0558a
parent9f1af3771da7313002f75da1a148e66d1b368866
MDL-65017 mod_forum: Test based on event type and not objectid

* Plus fix warning about \test_capability_manager::can_delete_post()
mod/forum/tests/events_test.php
mod/forum/tests/exporters_post_test.php