1. 22 Sep, 2022 1 commit
  2. 21 Sep, 2022 2 commits
  3. 20 Sep, 2022 4 commits
  4. 19 Sep, 2022 3 commits
  5. 18 Sep, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-75757 phpunit: Add some tolerance to a few failing assertions · dff57938
      Eloy Lafuente authored
      Recently, PHPUnit (all versions) did some changes about how the
      comparators worked and this has caused some float comparisons
      to stop working.
      
      We need to move them to assertEqualsWithDelta(), allowing a small
      tolerance to workaround the floats comparison problem.
      
      0.00001 has been decided. And applied to all the similar assertions
      within the unittest function, so if more cases are added to them
      better be copied with the agreed tolerance.
      dff57938
  6. 16 Sep, 2022 3 commits
  7. 15 Sep, 2022 9 commits
  8. 14 Sep, 2022 3 commits
  9. 13 Sep, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-75716 phpunit: Move tests to use correct names and ns (take#5) · ad01614e
      Eloy Lafuente authored
      Applied the following changes to various testcase classes:
      
      - Namespaced with component[\level2-API]
      - Moved to level2-API subdirectory when required.
      - Fixed incorrect use statements with leading backslash.
      - Remove file phpdoc block
      - Remove MOODLE_INTERNAL if not needed.
      - Changed code to point to global scope when needed.
      - Fix some relative paths and comments here and there.
      - All them passing individually.
      - Complete runs passing too.
      
      Special mention to:
      
      - In lib/tests/blocklib_test.php 2 helper classes have been
        moved to tests/fixtures, because they needed to be namespace-free.
      ad01614e
  10. 12 Sep, 2022 1 commit
  11. 11 Sep, 2022 1 commit
  12. 10 Sep, 2022 1 commit
  13. 09 Sep, 2022 4 commits
  14. 08 Sep, 2022 2 commits
  15. 07 Sep, 2022 4 commits