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

text_test::test_convert failure (windows and mac)

XMLWordPrintable

      This test is consistently failing, both with Windows and Mac:

      $ vendor/bin/phpunit -v lib/tests/text_test.php 
      Moodle 4.0beta (Build: 20220303), 87791a13a413498116fc5f081f5e48256f6e492f
      Php: 8.0.16, mysqli: 8.0.27, OS: Darwin 20.6.0 x86_64
      PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
       
      Runtime:       PHP 8.0.16
      Configuration: /Users/stronk7/git_moodle/testing/phpunit.xml
       
      .F.....................                                           23 / 23 (100%)
       
      Time: 00:00.627, Memory: 60.50 MB
       
      There was 1 failure:
       
      1) text_test::test_convert
      Failed asserting that two strings are identical.
      --- Expected
      +++ Actual
      @@ @@
      -'Der eine stosst den Speer zum Mann'
      +'Der eine st"osst den Speer zum Mann'
       
      /Users/stronk7/git_moodle/testing/lib/tests/text_test.php:98
      /Users/stronk7/git_moodle/testing/lib/phpunit/classes/advanced_testcase.php:80
      /private/tmp/composerbase/testing/400/vendor/phpunit/phpunit/phpunit:98
       
      FAILURES!
      Tests: 23, Assertions: 157, Failures: 1.
      

      (tested with php73, 74 and 80 - same failure with all them)

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Carlos Escobedo Carlos Escobedo
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 30 minutes
                6h 30m

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