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

Rename PHPUnit method from can_update_library to test_can_update_library

XMLWordPrintable

    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE
    • MDL-68038-master
    • Hide
      1. Before the patch, run phpunit tests from file h5p/tests/helper_test.php: 

        mdk phpunit -r -u h5p/tests/helper_test.php

      2. Check there are executed 10 tests and 21 assertions.
      3. After the patch, run again phpunit tests from file h5p/tests/helper_test.php: 

        mdk phpunit -r -u h5p/tests/helper_test.php

      4. Check now there are executed 11 tests and 23 assertions.
      Show
      Before the patch, run phpunit tests from file h5p/tests/helper_test.php:  mdk phpunit -r -u h5p/tests/helper_test.php Check there are executed 10 tests and 21 assertions. After the patch, run again phpunit tests from file h5p/tests/helper_test.php:  mdk phpunit -r -u h5p/tests/helper_test.php Check now there are executed 11 tests and 23 assertions.
    • Moppies Kanban

      In order to execute it automatically, the method can_update_library should be renamed to test_can_update_library in h5p/tests/helper_test.php.

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 1 minute
                1h 1m

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