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

core_iplookup_geoplugin_testcase::test_ipv4() is failing

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_35_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_35_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-70584-master
    • Hide

      Add to config.php:

      define('PHPUNIT_LONGTEST', 1);
      

      Run unittest

      vendor/bin/phpunit iplookup/tests/geoplugin_test.php
      

      Make sure it passes

      Show
      Add to config.php: define('PHPUNIT_LONGTEST', 1); Run unittest vendor/bin/phpunit iplookup/tests/geoplugin_test.php Make sure it passes

      core_iplookup_geoplugin_testcase::test_ipv4() started to fail recently...

      1) core_iplookup_geoplugin_testcase::test_ipv4
      Coordinates are out of accepted tolerance
      Failed asserting that -122.465 matches expected -122.3933.
       
      /var/www/html/iplookup/tests/geoplugin_test.php:54
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:80
       
      To re-run:
       vendor/bin/phpunit --verbose "core_iplookup_geoplugin_testcase" iplookup/tests/geoplugin_test.php
      

            marina Marina Glancy
            jpataleta Jun Pataleta
            Paul Holden Paul Holden
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            5 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.