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

False positive intool_lp_external_testcase::test_search_users

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Story Points:
      0
    • Sprint:
      CBE Sprint 4

      Description

      1) tool_lp_external_testcase::test_search_users
      Failed asserting that actual size 4 matches expected size 3.
       
      /home/fred/www/repositories/sm/moodle/admin/tool/lp/tests/externallib_test.php:2605
      /home/fred/www/repositories/sm/moodle/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit tool_lp_external_testcase admin/tool/lp/tests/externallib_test.php
      

      This must be caused because some of the randomly generated users first and last names are matching.

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Damyon Wiese
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: