| Línea 74... |
Línea 74... |
| 74 |
* And I ask for the site information.
|
74 |
* And I ask for the site information.
|
| 75 |
* Then I should see the site.
|
75 |
* Then I should see the site.
|
| 76 |
* And I should see no other courses.
|
76 |
* And I should see no other courses.
|
| 77 |
* And I should see no categories.
|
77 |
* And I should see no categories.
|
| 78 |
*/
|
78 |
*/
|
| 79 |
public function test_site_visibility_no_enrolment() {
|
79 |
public function test_site_visibility_no_enrolment(): void {
|
| 80 |
$this->resetAfterTest();
|
80 |
$this->resetAfterTest();
|
| 81 |
list ($courses, $categories) = $this->mock_structure();
|
81 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 82... |
Línea 82... |
| 82 |
|
82 |
|
| 83 |
$generator = $this->getDataGenerator();
|
83 |
$generator = $this->getDataGenerator();
|
| Línea 100... |
Línea 100... |
| 100 |
* And I should see the category parents.
|
100 |
* And I should see the category parents.
|
| 101 |
* And I should see the category descendants.
|
101 |
* And I should see the category descendants.
|
| 102 |
* And I should see the site course.
|
102 |
* And I should see the site course.
|
| 103 |
* And I should see no other courses.
|
103 |
* And I should see no other courses.
|
| 104 |
*/
|
104 |
*/
|
| 105 |
public function test_site_visibility_no_enrolment_category() {
|
105 |
public function test_site_visibility_no_enrolment_category(): void {
|
| 106 |
$this->resetAfterTest();
|
106 |
$this->resetAfterTest();
|
| 107 |
list ($courses, $categories) = $this->mock_structure();
|
107 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 108... |
Línea 108... |
| 108 |
|
108 |
|
| 109 |
$generator = $this->getDataGenerator();
|
109 |
$generator = $this->getDataGenerator();
|
| Línea 131... |
Línea 131... |
| 131 |
* And I should see the category parents.
|
131 |
* And I should see the category parents.
|
| 132 |
* And I should see the category descendants.
|
132 |
* And I should see the category descendants.
|
| 133 |
* And I should see the site course.
|
133 |
* And I should see the site course.
|
| 134 |
* And I should see no other courses.
|
134 |
* And I should see no other courses.
|
| 135 |
*/
|
135 |
*/
|
| 136 |
public function test_site_visibility_category_manager_site() {
|
136 |
public function test_site_visibility_category_manager_site(): void {
|
| 137 |
global $DB;
|
137 |
global $DB;
|
| Línea 138... |
Línea 138... |
| 138 |
|
138 |
|
| 139 |
$this->resetAfterTest();
|
139 |
$this->resetAfterTest();
|
| Línea 168... |
Línea 168... |
| 168 |
* And I should see the category parents.
|
168 |
* And I should see the category parents.
|
| 169 |
* And I should see the category descendants.
|
169 |
* And I should see the category descendants.
|
| 170 |
* And I should see the site course.
|
170 |
* And I should see the site course.
|
| 171 |
* And I should see no other courses.
|
171 |
* And I should see no other courses.
|
| 172 |
*/
|
172 |
*/
|
| 173 |
public function test_site_visibility_category_manager_own_category() {
|
173 |
public function test_site_visibility_category_manager_own_category(): void {
|
| 174 |
global $DB;
|
174 |
global $DB;
|
| Línea 175... |
Línea 175... |
| 175 |
|
175 |
|
| 176 |
$this->resetAfterTest();
|
176 |
$this->resetAfterTest();
|
| Línea 205... |
Línea 205... |
| 205 |
* And I should see the category parents.
|
205 |
* And I should see the category parents.
|
| 206 |
* And I should see the category descendants.
|
206 |
* And I should see the category descendants.
|
| 207 |
* And I should see the site course.
|
207 |
* And I should see the site course.
|
| 208 |
* And I should see no other courses.
|
208 |
* And I should see no other courses.
|
| 209 |
*/
|
209 |
*/
|
| 210 |
public function test_site_visibility_category_manager_parent_category() {
|
210 |
public function test_site_visibility_category_manager_parent_category(): void {
|
| 211 |
global $DB;
|
211 |
global $DB;
|
| Línea 212... |
Línea 212... |
| 212 |
|
212 |
|
| 213 |
$this->resetAfterTest();
|
213 |
$this->resetAfterTest();
|
| Línea 242... |
Línea 242... |
| 242 |
* And I should see the category parents.
|
242 |
* And I should see the category parents.
|
| 243 |
* And I should see the category descendants.
|
243 |
* And I should see the category descendants.
|
| 244 |
* And I should see the site course.
|
244 |
* And I should see the site course.
|
| 245 |
* And I should see no other courses.
|
245 |
* And I should see no other courses.
|
| 246 |
*/
|
246 |
*/
|
| 247 |
public function test_site_visibility_category_manager_child_category() {
|
247 |
public function test_site_visibility_category_manager_child_category(): void {
|
| 248 |
global $DB;
|
248 |
global $DB;
|
| Línea 249... |
Línea 249... |
| 249 |
|
249 |
|
| 250 |
$this->resetAfterTest();
|
250 |
$this->resetAfterTest();
|
| Línea 278... |
Línea 278... |
| 278 |
* Then I should see the site.
|
278 |
* Then I should see the site.
|
| 279 |
* And I should see the course I am enrolled in.
|
279 |
* And I should see the course I am enrolled in.
|
| 280 |
* And I should see the category that my enrolled course is in.
|
280 |
* And I should see the category that my enrolled course is in.
|
| 281 |
* And I should see the parents of the category that my enrolled course is in.
|
281 |
* And I should see the parents of the category that my enrolled course is in.
|
| 282 |
*/
|
282 |
*/
|
| 283 |
public function test_site_visibility_single_course_site() {
|
283 |
public function test_site_visibility_single_course_site(): void {
|
| 284 |
$this->resetAfterTest();
|
284 |
$this->resetAfterTest();
|
| 285 |
list ($courses, $categories) = $this->mock_structure();
|
285 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 286... |
Línea 286... |
| 286 |
|
286 |
|
| 287 |
$generator = $this->getDataGenerator();
|
287 |
$generator = $this->getDataGenerator();
|
| Línea 314... |
Línea 314... |
| 314 |
* Then I should see the site.
|
314 |
* Then I should see the site.
|
| 315 |
* And I should see that course.
|
315 |
* And I should see that course.
|
| 316 |
* And I should see the category of that course.
|
316 |
* And I should see the category of that course.
|
| 317 |
* And I should see the parents of that course category.
|
317 |
* And I should see the parents of that course category.
|
| 318 |
*/
|
318 |
*/
|
| 319 |
public function test_site_visibility_single_course_course_course() {
|
319 |
public function test_site_visibility_single_course_course_course(): void {
|
| 320 |
$this->resetAfterTest();
|
320 |
$this->resetAfterTest();
|
| 321 |
list ($courses, $categories) = $this->mock_structure();
|
321 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 322... |
Línea 322... |
| 322 |
|
322 |
|
| 323 |
$generator = $this->getDataGenerator();
|
323 |
$generator = $this->getDataGenerator();
|
| Línea 363... |
Línea 363... |
| 363 |
* And I should see the site.
|
363 |
* And I should see the site.
|
| 364 |
* And I should see my course.
|
364 |
* And I should see my course.
|
| 365 |
* And I should see no other courses.
|
365 |
* And I should see no other courses.
|
| 366 |
* And I should see no categories.
|
366 |
* And I should see no categories.
|
| 367 |
*/
|
367 |
*/
|
| 368 |
public function test_site_visibility_single_course_category() {
|
368 |
public function test_site_visibility_single_course_category(): void {
|
| 369 |
$this->resetAfterTest();
|
369 |
$this->resetAfterTest();
|
| 370 |
list ($courses, $categories) = $this->mock_structure();
|
370 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 371... |
Línea 371... |
| 371 |
|
371 |
|
| 372 |
$generator = $this->getDataGenerator();
|
372 |
$generator = $this->getDataGenerator();
|
| Línea 404... |
Línea 404... |
| 404 |
* And I should see the site.
|
404 |
* And I should see the site.
|
| 405 |
* And I should see my course.
|
405 |
* And I should see my course.
|
| 406 |
* And I should see no other courses.
|
406 |
* And I should see no other courses.
|
| 407 |
* And I should see no categories.
|
407 |
* And I should see no categories.
|
| 408 |
*/
|
408 |
*/
|
| 409 |
public function test_site_visibility_single_course_parent_category() {
|
409 |
public function test_site_visibility_single_course_parent_category(): void {
|
| 410 |
$this->resetAfterTest();
|
410 |
$this->resetAfterTest();
|
| 411 |
list ($courses, $categories) = $this->mock_structure();
|
411 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 412... |
Línea 412... |
| 412 |
|
412 |
|
| 413 |
$generator = $this->getDataGenerator();
|
413 |
$generator = $this->getDataGenerator();
|
| Línea 448... |
Línea 448... |
| 448 |
* And I should see the site.
|
448 |
* And I should see the site.
|
| 449 |
* And I should see my course.
|
449 |
* And I should see my course.
|
| 450 |
* And I should see no other courses.
|
450 |
* And I should see no other courses.
|
| 451 |
* And I should see no categories.
|
451 |
* And I should see no categories.
|
| 452 |
*/
|
452 |
*/
|
| 453 |
public function test_site_visibility_single_course_sibling_category() {
|
453 |
public function test_site_visibility_single_course_sibling_category(): void {
|
| 454 |
$this->resetAfterTest();
|
454 |
$this->resetAfterTest();
|
| 455 |
list ($courses, $categories) = $this->mock_structure();
|
455 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 456... |
Línea 456... |
| 456 |
|
456 |
|
| 457 |
$generator = $this->getDataGenerator();
|
457 |
$generator = $this->getDataGenerator();
|
| Línea 488... |
Línea 488... |
| 488 |
* And I should see the site.
|
488 |
* And I should see the site.
|
| 489 |
* And I should see not see my course.
|
489 |
* And I should see not see my course.
|
| 490 |
* And I should see no other courses.
|
490 |
* And I should see no other courses.
|
| 491 |
* And I should see no categories.
|
491 |
* And I should see no categories.
|
| 492 |
*/
|
492 |
*/
|
| 493 |
public function test_site_visibility_single_course_different_category() {
|
493 |
public function test_site_visibility_single_course_different_category(): void {
|
| 494 |
$this->resetAfterTest();
|
494 |
$this->resetAfterTest();
|
| 495 |
list ($courses, $categories) = $this->mock_structure();
|
495 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 496... |
Línea 496... |
| 496 |
|
496 |
|
| 497 |
$generator = $this->getDataGenerator();
|
497 |
$generator = $this->getDataGenerator();
|
| Línea 524... |
Línea 524... |
| 524 |
* Then I should see the site.
|
524 |
* Then I should see the site.
|
| 525 |
* And I should see the course I am enrolled in.
|
525 |
* And I should see the course I am enrolled in.
|
| 526 |
* And I should see the category that my enrolled course is in.
|
526 |
* And I should see the category that my enrolled course is in.
|
| 527 |
* And I should see the parents of the category that my enrolled course is in.
|
527 |
* And I should see the parents of the category that my enrolled course is in.
|
| 528 |
*/
|
528 |
*/
|
| 529 |
public function test_site_visibility_two_courses_one_category_site() {
|
529 |
public function test_site_visibility_two_courses_one_category_site(): void {
|
| 530 |
$this->resetAfterTest();
|
530 |
$this->resetAfterTest();
|
| 531 |
list ($courses, $categories) = $this->mock_structure();
|
531 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 532... |
Línea 532... |
| 532 |
|
532 |
|
| 533 |
$generator = $this->getDataGenerator();
|
533 |
$generator = $this->getDataGenerator();
|
| Línea 560... |
Línea 560... |
| 560 |
* Then I should see the site.
|
560 |
* Then I should see the site.
|
| 561 |
* And I should see that course.
|
561 |
* And I should see that course.
|
| 562 |
* And I should see the category that my enrolled courses are in.
|
562 |
* And I should see the category that my enrolled courses are in.
|
| 563 |
* And I should see the parents of the category that my enrolled course are in.
|
563 |
* And I should see the parents of the category that my enrolled course are in.
|
| 564 |
*/
|
564 |
*/
|
| 565 |
public function test_site_visibility_two_courses_one_category_course() {
|
565 |
public function test_site_visibility_two_courses_one_category_course(): void {
|
| 566 |
$this->resetAfterTest();
|
566 |
$this->resetAfterTest();
|
| 567 |
list ($courses, $categories) = $this->mock_structure();
|
567 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 568... |
Línea 568... |
| 568 |
|
568 |
|
| 569 |
$generator = $this->getDataGenerator();
|
569 |
$generator = $this->getDataGenerator();
|
| Línea 606... |
Línea 606... |
| 606 |
* Then I should see the site.
|
606 |
* Then I should see the site.
|
| 607 |
* And I should see that course.
|
607 |
* And I should see that course.
|
| 608 |
* And I should see the category that my enrolled courses are in.
|
608 |
* And I should see the category that my enrolled courses are in.
|
| 609 |
* And I should see the parents of the category that my enrolled course are in.
|
609 |
* And I should see the parents of the category that my enrolled course are in.
|
| 610 |
*/
|
610 |
*/
|
| 611 |
public function test_site_visibility_two_courses_one_category_courseb() {
|
611 |
public function test_site_visibility_two_courses_one_category_courseb(): void {
|
| 612 |
$this->resetAfterTest();
|
612 |
$this->resetAfterTest();
|
| 613 |
list ($courses, $categories) = $this->mock_structure();
|
613 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 614... |
Línea 614... |
| 614 |
|
614 |
|
| 615 |
$generator = $this->getDataGenerator();
|
615 |
$generator = $this->getDataGenerator();
|
| Línea 653... |
Línea 653... |
| 653 |
* Then I should see the site.
|
653 |
* Then I should see the site.
|
| 654 |
* And I should see that course.
|
654 |
* And I should see that course.
|
| 655 |
* And I should see the category that my enrolled courses are in.
|
655 |
* And I should see the category that my enrolled courses are in.
|
| 656 |
* And I should see the parents of the category that my enrolled course are in.
|
656 |
* And I should see the parents of the category that my enrolled course are in.
|
| 657 |
*/
|
657 |
*/
|
| 658 |
public function test_site_visibility_two_courses_one_category_category() {
|
658 |
public function test_site_visibility_two_courses_one_category_category(): void {
|
| 659 |
$this->resetAfterTest();
|
659 |
$this->resetAfterTest();
|
| 660 |
list ($courses, $categories) = $this->mock_structure();
|
660 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 661... |
Línea 661... |
| 661 |
|
661 |
|
| 662 |
$generator = $this->getDataGenerator();
|
662 |
$generator = $this->getDataGenerator();
|
| Línea 689... |
Línea 689... |
| 689 |
* Then I should see the site.
|
689 |
* Then I should see the site.
|
| 690 |
* And I should see that course.
|
690 |
* And I should see that course.
|
| 691 |
* And I should see the category that my enrolled courses are in.
|
691 |
* And I should see the category that my enrolled courses are in.
|
| 692 |
* And I should see the parents of the category that my enrolled course are in.
|
692 |
* And I should see the parents of the category that my enrolled course are in.
|
| 693 |
*/
|
693 |
*/
|
| 694 |
public function test_site_visibility_two_courses_one_category_othercategory() {
|
694 |
public function test_site_visibility_two_courses_one_category_othercategory(): void {
|
| 695 |
$this->resetAfterTest();
|
695 |
$this->resetAfterTest();
|
| 696 |
list ($courses, $categories) = $this->mock_structure();
|
696 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 697... |
Línea 697... |
| 697 |
|
697 |
|
| 698 |
$generator = $this->getDataGenerator();
|
698 |
$generator = $this->getDataGenerator();
|
| Línea 723... |
Línea 723... |
| 723 |
* Then I should see the site.
|
723 |
* Then I should see the site.
|
| 724 |
* And I should see both course.
|
724 |
* And I should see both course.
|
| 725 |
* And I should see the categories that my enrolled courses are in.
|
725 |
* And I should see the categories that my enrolled courses are in.
|
| 726 |
* And I should see the parents of those categories.
|
726 |
* And I should see the parents of those categories.
|
| 727 |
*/
|
727 |
*/
|
| 728 |
public function test_site_visibility_two_courses_two_categories_site() {
|
728 |
public function test_site_visibility_two_courses_two_categories_site(): void {
|
| 729 |
$this->resetAfterTest();
|
729 |
$this->resetAfterTest();
|
| 730 |
list ($courses, $categories) = $this->mock_structure();
|
730 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 731... |
Línea 731... |
| 731 |
|
731 |
|
| 732 |
$generator = $this->getDataGenerator();
|
732 |
$generator = $this->getDataGenerator();
|
| Línea 760... |
Línea 760... |
| 760 |
* Then I should see the site.
|
760 |
* Then I should see the site.
|
| 761 |
* And I should see one of the courses.
|
761 |
* And I should see one of the courses.
|
| 762 |
* And I should see the categories that my enrolled courses are in.
|
762 |
* And I should see the categories that my enrolled courses are in.
|
| 763 |
* And I should see the parents of those categories.
|
763 |
* And I should see the parents of those categories.
|
| 764 |
*/
|
764 |
*/
|
| 765 |
public function test_site_visibility_two_courses_two_categories_coursea() {
|
765 |
public function test_site_visibility_two_courses_two_categories_coursea(): void {
|
| 766 |
$this->resetAfterTest();
|
766 |
$this->resetAfterTest();
|
| 767 |
list ($courses, $categories) = $this->mock_structure();
|
767 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 768... |
Línea 768... |
| 768 |
|
768 |
|
| 769 |
$generator = $this->getDataGenerator();
|
769 |
$generator = $this->getDataGenerator();
|
| Línea 807... |
Línea 807... |
| 807 |
* Then I should see the site.
|
807 |
* Then I should see the site.
|
| 808 |
* And I should see one of the courses.
|
808 |
* And I should see one of the courses.
|
| 809 |
* And I should see the categories that my enrolled courses are in.
|
809 |
* And I should see the categories that my enrolled courses are in.
|
| 810 |
* And I should see the parents of those categories.
|
810 |
* And I should see the parents of those categories.
|
| 811 |
*/
|
811 |
*/
|
| 812 |
public function test_site_visibility_two_courses_two_categories_courseb() {
|
812 |
public function test_site_visibility_two_courses_two_categories_courseb(): void {
|
| 813 |
$this->resetAfterTest();
|
813 |
$this->resetAfterTest();
|
| 814 |
list ($courses, $categories) = $this->mock_structure();
|
814 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 815... |
Línea 815... |
| 815 |
|
815 |
|
| 816 |
$generator = $this->getDataGenerator();
|
816 |
$generator = $this->getDataGenerator();
|
| Línea 855... |
Línea 855... |
| 855 |
* Then I should see the site.
|
855 |
* Then I should see the site.
|
| 856 |
* And I should see one of the courses.
|
856 |
* And I should see one of the courses.
|
| 857 |
* And I should see the categories that my enrolled courses are in.
|
857 |
* And I should see the categories that my enrolled courses are in.
|
| 858 |
* And I should see the parents of those categories.
|
858 |
* And I should see the parents of those categories.
|
| 859 |
*/
|
859 |
*/
|
| 860 |
public function test_site_visibility_two_courses_two_categories_category() {
|
860 |
public function test_site_visibility_two_courses_two_categories_category(): void {
|
| 861 |
$this->resetAfterTest();
|
861 |
$this->resetAfterTest();
|
| 862 |
list ($courses, $categories) = $this->mock_structure();
|
862 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 863... |
Línea 863... |
| 863 |
|
863 |
|
| 864 |
$generator = $this->getDataGenerator();
|
864 |
$generator = $this->getDataGenerator();
|
| Línea 896... |
Línea 896... |
| 896 |
* Then I should see the site.
|
896 |
* Then I should see the site.
|
| 897 |
* And I should see one of the courses.
|
897 |
* And I should see one of the courses.
|
| 898 |
* And I should see the categories that my enrolled courses are in.
|
898 |
* And I should see the categories that my enrolled courses are in.
|
| 899 |
* And I should see the parents of those categories.
|
899 |
* And I should see the parents of those categories.
|
| 900 |
*/
|
900 |
*/
|
| 901 |
public function test_site_visibility_two_courses_two_categories_different_category() {
|
901 |
public function test_site_visibility_two_courses_two_categories_different_category(): void {
|
| 902 |
$this->resetAfterTest();
|
902 |
$this->resetAfterTest();
|
| 903 |
list ($courses, $categories) = $this->mock_structure();
|
903 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 904... |
Línea 904... |
| 904 |
|
904 |
|
| 905 |
$generator = $this->getDataGenerator();
|
905 |
$generator = $this->getDataGenerator();
|
| Línea 929... |
Línea 929... |
| 929 |
* And I ask for the site information.
|
929 |
* And I ask for the site information.
|
| 930 |
* Then I should see the site.
|
930 |
* Then I should see the site.
|
| 931 |
* And I should see no other courses.
|
931 |
* And I should see no other courses.
|
| 932 |
* And I should see no categories.
|
932 |
* And I should see no categories.
|
| 933 |
*/
|
933 |
*/
|
| 934 |
public function test_site_visibility_admin_user() {
|
934 |
public function test_site_visibility_admin_user(): void {
|
| 935 |
$this->resetAfterTest();
|
935 |
$this->resetAfterTest();
|
| 936 |
list ($courses, $categories) = $this->mock_structure();
|
936 |
list ($courses, $categories) = $this->mock_structure();
|
| Línea 937... |
Línea 937... |
| 937 |
|
937 |
|
| 938 |
$generator = $this->getDataGenerator();
|
938 |
$generator = $this->getDataGenerator();
|
| Línea 955... |
Línea 955... |
| 955 |
* And I should see the category of that course.
|
955 |
* And I should see the category of that course.
|
| 956 |
* And I should see the parents of that course category.
|
956 |
* And I should see the parents of that course category.
|
| 957 |
* And I should see no other courses.
|
957 |
* And I should see no other courses.
|
| 958 |
* And I should see no other categories.
|
958 |
* And I should see no other categories.
|
| 959 |
*/
|
959 |
*/
|
| 960 |
public function test_site_visibility_admin_user_with_enrolment_site() {
|
960 |
public function test_site_visibility_admin_user_with_enrolment_site(): void {
|
| 961 |
global $USER;
|
961 |
global $USER;
|
| Línea 962... |
Línea 962... |
| 962 |
|
962 |
|
| 963 |
$this->resetAfterTest();
|
963 |
$this->resetAfterTest();
|
| Línea 986... |
Línea 986... |
| 986 |
* Then I should see the site.
|
986 |
* Then I should see the site.
|
| 987 |
* And I should see the course I am enrolled in
|
987 |
* And I should see the course I am enrolled in
|
| 988 |
* And I should see the category of that course.
|
988 |
* And I should see the category of that course.
|
| 989 |
* And I should see the parents of that course category.
|
989 |
* And I should see the parents of that course category.
|
| 990 |
*/
|
990 |
*/
|
| 991 |
public function test_site_visibility_admin_user_with_enrolment_course() {
|
991 |
public function test_site_visibility_admin_user_with_enrolment_course(): void {
|
| 992 |
global $USER;
|
992 |
global $USER;
|
| Línea 993... |
Línea 993... |
| 993 |
|
993 |
|
| 994 |
$this->resetAfterTest();
|
994 |
$this->resetAfterTest();
|
| Línea 1033... |
Línea 1033... |
| 1033 |
* And I should see the site.
|
1033 |
* And I should see the site.
|
| 1034 |
* And I should see my course.
|
1034 |
* And I should see my course.
|
| 1035 |
* And I should see no other courses.
|
1035 |
* And I should see no other courses.
|
| 1036 |
* And I should see no categories.
|
1036 |
* And I should see no categories.
|
| 1037 |
*/
|
1037 |
*/
|
| 1038 |
public function test_site_visibility_admin_user_with_enrolment_category() {
|
1038 |
public function test_site_visibility_admin_user_with_enrolment_category(): void {
|
| 1039 |
global $USER;
|
1039 |
global $USER;
|
| Línea 1040... |
Línea 1040... |
| 1040 |
|
1040 |
|
| 1041 |
$this->resetAfterTest();
|
1041 |
$this->resetAfterTest();
|