Moodle
  1. Moodle
  2. MDL-35898

rebuild_course_cache() should be called between unit tests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.4
    • Fix Version/s: 2.3.3
    • Component/s: Unit tests
    • Labels:
    • Rank:
      44663

      Description

      rebuild_course_cache(0, true);
      

      or

      $course = 'reset';
      get_fast_modinfo($course);
      

      whatever is more appropriate

        Issue Links

          Activity

          Hide
          Petr Škoda added a comment -

          Thanks for the report.

          Show
          Petr Škoda added a comment - Thanks for the report.
          Hide
          Marina Glancy added a comment -

          Petr, thanks for the fix.
          format_base did not exist in 2.3

          Show
          Marina Glancy added a comment - Petr, thanks for the fix. format_base did not exist in 2.3
          Hide
          Petr Škoda added a comment -

          oh, thanks, removing

          Show
          Petr Škoda added a comment - oh, thanks, removing
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Integrated (23 and master), thanks!

          Show
          Eloy Lafuente (stronk7) added a comment - Integrated (23 and master), thanks!
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Ci tests say this pass.

          Show
          Eloy Lafuente (stronk7) added a comment - Ci tests say this pass.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          From somewhere within the clouds...

          Congrats, this has been sent upstream and is now part of Moodle (your favorite LMS platform). Many thanks for your awesome collaboration!

          Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - From somewhere within the clouds... Congrats, this has been sent upstream and is now part of Moodle (your favorite LMS platform). Many thanks for your awesome collaboration! Ciao

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: