Línea 22... |
Línea 22... |
22 |
* @package core_completion
|
22 |
* @package core_completion
|
23 |
* @copyright 2018 University of Nottingham
|
23 |
* @copyright 2018 University of Nottingham
|
24 |
* @author Neill Magill <neill.magill@nottingham.ac.uk>
|
24 |
* @author Neill Magill <neill.magill@nottingham.ac.uk>
|
25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
25 |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
26 |
*/
|
26 |
*/
|
27 |
class capabilities_test extends \advanced_testcase {
|
27 |
final class capabilities_test extends \advanced_testcase {
|
28 |
/**
|
28 |
/**
|
29 |
* A user who does not have capabilities to add events to the calendar should be able to create activities.
|
29 |
* A user who does not have capabilities to add events to the calendar should be able to create activities.
|
30 |
*/
|
30 |
*/
|
31 |
public function test_creation_with_no_calendar_capabilities(): void {
|
31 |
public function test_creation_with_no_calendar_capabilities(): void {
|
32 |
$this->resetAfterTest();
|
32 |
$this->resetAfterTest();
|