Skip to content

Instantly share code, notes, and snippets.

@andrewnicols
Created March 19, 2014 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewnicols/9634945 to your computer and use it in GitHub Desktop.
Save andrewnicols/9634945 to your computer and use it in GitHub Desktop.
/usr/local/bin/git remote -v
/usr/local/bin/git config --get remote.origin.url
/usr/local/bin/git remote -v
/usr/local/bin/git config --get remote.origin.url
/usr/local/bin/php /private/srv/www/loganberry.local/data/im_my/moodle/admin/tool/phpunit/cli/init.php
Initialising Moodle PHPUnit test environment...
PHPUnit ready!
vendor/bin/phpunit
Moodle 2.7dev (Build: 20140314), mysqli, 4826ed1177c0d4c3d18b41525d6088150081a655
PHPUnit 3.7.28 by Sebastian Bergmann.
Configuration read from /private/srv/www/loganberry.local/data/im_my/moodle/phpunit.xml
.....................................................F....... 61 / 2593 ( 2%)
............................................................. 122 / 2593 ( 4%)
...FF........................................................ 183 / 2593 ( 7%)
............................................................. 244 / 2593 ( 9%)
............................................................. 305 / 2593 ( 11%)
............................................................. 366 / 2593 ( 14%)
...............F............................................. 427 / 2593 ( 16%)
............................................................. 488 / 2593 ( 18%)
............................................................. 549 / 2593 ( 21%)
............................................................. 610 / 2593 ( 23%)
............................................................. 671 / 2593 ( 25%)
............................................................. 732 / 2593 ( 28%)
............F................................................ 793 / 2593 ( 30%)
............................................................. 854 / 2593 ( 32%)
............................................................. 915 / 2593 ( 35%)
............................................................. 976 / 2593 ( 37%)
............................................................. 1037 / 2593 ( 39%)
............................................................. 1098 / 2593 ( 42%)
............................................................. 1159 / 2593 ( 44%)
.........................................E................... 1220 / 2593 ( 47%)
............................................................. 1281 / 2593 ( 49%)
............................................................. 1342 / 2593 ( 51%)
............................................................. 1403 / 2593 ( 54%)
............................................................. 1464 / 2593 ( 56%)
............................................................. 1525 / 2593 ( 58%)
.......................................S.........SSSSS....... 1586 / 2593 ( 61%)
................S............................................ 1647 / 2593 ( 63%)
............................................................. 1708 / 2593 ( 65%)
............................................................. 1769 / 2593 ( 68%)
.........................................F................... 1830 / 2593 ( 70%)
............................................................. 1891 / 2593 ( 72%)
............................................................. 1952 / 2593 ( 75%)
............................................................. 2013 / 2593 ( 77%)
............................................................. 2074 / 2593 ( 79%)
............................................................. 2135 / 2593 ( 82%)
............................................................. 2196 / 2593 ( 84%)
............................................................. 2257 / 2593 ( 87%)
............................................................. 2318 / 2593 ( 89%)
............................................................. 2379 / 2593 ( 91%)
............................................................. 2440 / 2593 ( 94%)
............................................................. 2501 / 2593 ( 96%)
............................................................. 2562 / 2593 ( 98%)
...............................
Time: 1.07 hours, Memory: 393.75Mb
There was 1 error:
1) core_course_courselib_testcase::test_course_module_created_event
dml_missing_record_exception: Can not find data record in database table course_modules. (SELECT id,course FROM {course_modules} WHERE id = ?
[array (
0 => '3',
)])
/private/srv/www/loganberry.local/data/im_my/moodle/lib/dml/moodle_database.php:1451
/private/srv/www/loganberry.local/data/im_my/moodle/lib/dml/moodle_database.php:1427
/private/srv/www/loganberry.local/data/im_my/moodle/lib/accesslib.php:7074
/private/srv/www/loganberry.local/data/im_my/moodle/course/tests/courselib_test.php:146
/private/srv/www/loganberry.local/data/im_my/moodle/course/tests/courselib_test.php:321
/private/srv/www/loganberry.local/data/im_my/moodle/course/tests/courselib_test.php:1940
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/advanced_testcase.php:80
To re-run:
vendor/bin/phpunit core_course_courselib_testcase course/tests/courselib_test.php
--
There were 6 failures:
1) core_ddl_testcase::test_reset_sequence
Some versions of MySQL 5.6.x are known to not support lowering of auto-increment numbers.
Failed asserting that 667 matches expected 1.
/private/srv/www/loganberry.local/data/im_my/moodle/lib/ddl/tests/ddl_test.php:1659
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/database_driver_testcase.php:143
To re-run:
vendor/bin/phpunit core_ddl_testcase lib/ddl/tests/ddl_test.php
2) core_dml_testcase::test_unique_index_collation_trouble
Unique index is accent insensitive, this may cause problems for non-ascii languages. This is usually caused by accent insensitive default collation.
/private/srv/www/loganberry.local/data/im_my/moodle/lib/dml/tests/dml_test.php:3760
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/database_driver_testcase.php:143
To re-run:
vendor/bin/phpunit core_dml_testcase lib/dml/tests/dml_test.php
3) core_dml_testcase::test_sql_binary_equal
SQL operator "=" is expected to be case sensitive
Failed asserting that 2 matches expected 1.
/private/srv/www/loganberry.local/data/im_my/moodle/lib/dml/tests/dml_test.php:3788
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/database_driver_testcase.php:143
To re-run:
vendor/bin/phpunit core_dml_testcase lib/dml/tests/dml_test.php
4) core_filelib_testcase::test_curl_redirects
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-302 Found
+302 Moved Temporarily
/private/srv/www/loganberry.local/data/im_my/moodle/lib/tests/filelib_test.php:247
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/advanced_testcase.php:80
To re-run:
vendor/bin/phpunit core_filelib_testcase lib/tests/filelib_test.php
5) scheduled_task_testcase::test_timezones
Failed asserting that 'Wednesday, 19 March 2014, 11:15 am' contains "11:15 AM".
/private/srv/www/loganberry.local/data/im_my/moodle/lib/tests/scheduled_task_test.php:122
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/advanced_testcase.php:80
To re-run:
vendor/bin/phpunit scheduled_task_testcase lib/tests/scheduled_task_test.php
6) data_lib_testcase::test_data_comment_created_event
Failed asserting that two objects are equal.
--- Expected
+++ Actual
@@ @@
'params' => Array (
- 'id' => '1'
+ 'id' => '3'
)
)
/private/srv/www/loganberry.local/data/im_my/moodle/mod/data/tests/lib_test.php:167
/private/srv/www/loganberry.local/data/im_my/moodle/lib/phpunit/classes/advanced_testcase.php:80
To re-run:
vendor/bin/phpunit data_lib_testcase mod/data/tests/lib_test.php
FAILURES!
Tests: 2593, Assertions: 46400, Failures: 6, Errors: 1, Skipped: 7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment