MDL-65093 core_message: remove some "dupe" tests
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 30 Jul 2019 10:37:27 +0000 (12:37 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 30 Jul 2019 10:37:27 +0000 (12:37 +0200)
commiteaaef6d621258f753da960045427f78c78481576
tree2a451dd5d09ba703886fd736b3341d1e09a75b54
parentfd59fa7494b930a04badbb4328904864a9deee91
MDL-65093 core_message: remove some "dupe" tests

With the deprecation of can_post_message() in favor of
can_send_message() all the new test_can_send_message_xxx()
were created from the original test_can_post_message_xxx() ones.

So, really we don't need all the old ones. Just ensure that
debugging is being called and done. New tests are already covering
the new method.

Note this is not strictly needed but in practice is allowing
MySQL + PHP 7.3 to stop segfaulting (because of some sort of limit /
overflow happening somewhere else). So this is just a practical
fix to avoid that while all the messaging tests are reorganizaed
@ MDL-63670. There are some good things to fix there.
message/tests/api_test.php