MDL-45296 tests: Fix unit tests to have objectid
commitb95db263ca2ab1498a13a5036b6b73118b682bd2
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 8 May 2014 15:50:11 +0000 (8 17:50 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 8 May 2014 18:03:17 +0000 (8 20:03 +0200)
tree6d894d4d902c1c498aacd7e6f8dc2f8b782138a0
parent98b69989ff885b424693083b28f4dad5db90787d
MDL-45296 tests: Fix unit tests to have objectid

In order to create the needed subscriptions to
make the event tests reliable a subscriptions
generator has been added. It performs raw-sql
subscriptions because by using the forum API
events would be fired (and that's something
we don't want to happen).
mod/forum/tests/events_test.php
mod/forum/tests/generator/lib.php