Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17385 Moodle 4.2 QA
  3. MDLQA-17921

CLONE - Users can connect to another Moodle site using MNet

XMLWordPrintable

      The goal of this test is to ensure that it is possible for Moodle users to connect with another Moodle site using MNet.

      Pre-requisites

      • This test needs to be executed on the maximum PHP supported versions for the master branch (for example, for Moodle 4.2dev, PHP 8.1).

      Setup

      Please note: it's possible that you see some notices during the setup part depending of the debugging levels in your site. You can ignore them as far as the configuration works as expected.

      1. Setup a couple of Moodle sites:
        • site1 running older version, for example: Moodle 4.0.x (MOODLE_400_STABLE).
        • site2 running the version to be released (master).
      2. Ensure that they have different $CFG->sessioncookiepath setting either on config.php or in Administration > Server > Session handling
      3. In both sites, enable and configure MNet as explained in the doc page.
      4. - Please note: You don't need to configure the "remote enrolments" steps, only the "get users roaming" ones.
      5. Create user1 in site1 and user2 in site2.

      Testing

      1. Log in as user1 in site1 and go to "Site home".
      2. In the "Network servers" block (that has been added as per the configuration instructions, click on site2.
      3. Verify that now you are welcome to site2 as user1.
      4. Log in as user2 in site2 and go to "Site home".
      5. In the "Network servers" block (that has been added as per the configuration instructions, click on site1.
      6. Verify that now you are welcome to site1 as user2.
      7. Verify that now user1 and user2 do exist in both sites and SSO/roaming between them works as expected.

        1. php 8.1 verify 1.png
          php 8.1 verify 1.png
          63 kB
        2. php 8.1 verify 2.png
          php 8.1 verify 2.png
          52 kB
        3. php 8.1 verify 3 site1.png
          php 8.1 verify 3 site1.png
          163 kB
        4. php 8.1 verify 3 site2.png
          php 8.1 verify 3 site2.png
          241 kB

            stevani.andolo@moodle.com Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.