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

The 64-bit environment check PHPUnit test fails for 32-bit PHP versions

    XMLWordPrintable

    Details

      Description

      While running PHPUnit on my Windows 7 32-bit VM, I got this.

      1) core_environment_testcase::test_environment
      Problem detected in environment (custom_check:php not 64 bits), fix all warnings and errors!
      Failed asserting that false is true.C:\inetpub\wwwroot\imaster\lib\tests\environment_test.php:63
      C:\inetpub\wwwroot\imaster\lib\phpunit\classes\advanced_testcase.php:80To re-run:
       vendor/bin/phpunit "core_environment_testcase" lib/tests/environment_test.php
       

      I think that this should be marked skipped though for 32-bit PHP versions.

        Attachments

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            jpataleta Jun Pataleta
            Peer reviewer:
            Andrew Nicols
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/Jan/19