MDL-62781 question/privacy: fix tests with CodeRunner is installed
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 22 Jun 2018 09:45:56 +0000 (10:45 +0100)
committerJun Pataleta <jun@moodle.com>
Wed, 18 Jul 2018 01:57:49 +0000 (09:57 +0800)
The tests were assuming that no plugin ever created questions on
install.

Also change the tests to do the counting in the DB. That is more
efficient.


No differences found