Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79490

Matrix communication user profile creation test failure

XMLWordPrintable

    • 1
    • Team Hedgehog 2023 Sprint 3.3
    • Small

      Observe:

      $ vendor/bin/phpunit communication/provider/matrix/tests/matrix_user_manager_test.php --filter test_create_matrix_user_profile_fields
      Moodle 4.3beta (Build: 20230923)
      Php: 8.0.30, mysqli: 8.0.34, OS: Linux 5.4.0-163-generic x86_64
      PHPUnit 9.5.28 by Sebastian Bergmann and contributors.
       
      E                                                                   1 / 1 (100%)
       
      Time: 00:00.180, Memory: 62.50 MB
       
      There was 1 error:
       
      1) communication_matrix\matrix_user_manager_test::test_create_matrix_user_profile_fields
      Error: Call to undefined function communication_matrix\profile_user_record()
       
      /mnt/export/moodle/master/src/communication/provider/matrix/tests/matrix_user_manager_test.php:230
      /mnt/export/moodle/master/src/lib/phpunit/classes/advanced_testcase.php:94
       
      ERRORS!
      Tests: 1, Assertions: 3, Errors: 1.
      

      Because the library that defines profile_user_record() has not been required

            pholden Paul Holden
            pholden Paul Holden
            Safat Shahin Safat Shahin
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 22 minutes
                22m

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