Advertisement
Guest User

Untitled

a guest
May 6th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.10 KB | None | 0 0
  1. $ vendor/bin/phpunit
  2. Moodle 3.5beta+ (Build: 20180502), b3359e2a3bcc01746031200c301451d03ed04faf
  3. Php: 7.0.30, pgsql: 9.6.8, OS: Windows NT 10.0 AMD64
  4. PHPUnit 6.5.7 by Sebastian Bergmann and contributors.
  5.  
  6. ........................................................... 59 / 10001 ( 0%)
  7. ........................................................... 118 / 10001 ( 1%)
  8. ........................................................... 177 / 10001 ( 1%)
  9. ........................................................... 236 / 10001 ( 2%)
  10. ........................................................... 295 / 10001 ( 2%)
  11. ........................................................... 354 / 10001 ( 3%)
  12. ........................................................... 413 / 10001 ( 4%)
  13. ..........FF............................................... 472 / 10001 ( 4%)
  14. ........................................................... 531 / 10001 ( 5%)
  15. ........................................................... 590 / 10001 ( 5%)
  16. .........................F................................. 649 / 10001 ( 6%)
  17. ........................................................... 708 / 10001 ( 7%)
  18. ........................................................... 767 / 10001 ( 7%)
  19. ........................................................... 826 / 10001 ( 8%)
  20. ........................................................... 885 / 10001 ( 8%)
  21. ........................................................... 944 / 10001 ( 9%)
  22. ........................................................... 1003 / 10001 ( 10%)
  23. ........................................................... 1062 / 10001 ( 10%)
  24. ........................................................... 1121 / 10001 ( 11%)
  25. ........................................................... 1180 / 10001 ( 11%)
  26. ........................................................... 1239 / 10001 ( 12%)
  27. ........................................................... 1298 / 10001 ( 12%)
  28. ........................................................... 1357 / 10001 ( 13%)
  29. ........................................................... 1416 / 10001 ( 14%)
  30. ........................................................... 1475 / 10001 ( 14%)
  31. ........................................................... 1534 / 10001 ( 15%)
  32. ........................................................... 1593 / 10001 ( 15%)
  33. ........................................................... 1652 / 10001 ( 16%)
  34. ....S...................................................... 1711 / 10001 ( 17%)
  35. ........................................................... 1770 / 10001 ( 17%)
  36. ........................................................... 1829 / 10001 ( 18%)
  37. ........................................................... 1888 / 10001 ( 18%)
  38. ........................................................... 1947 / 10001 ( 19%)
  39. ........................................................... 2006 / 10001 ( 20%)
  40. ........................................................... 2065 / 10001 ( 20%)
  41. ........................................................... 2124 / 10001 ( 21%)
  42. ........................................................... 2183 / 10001 ( 21%)
  43. ......................E.......SS................SSSSSSSS... 2242 / 10001 ( 22%)
  44. ........................................................... 2301 / 10001 ( 23%)
  45. ........................................................... 2360 / 10001 ( 23%)
  46. ........................................................... 2419 / 10001 ( 24%)
  47. ........................................................... 2478 / 10001 ( 24%)
  48. ........................................................... 2537 / 10001 ( 25%)
  49. ........................................................... 2596 / 10001 ( 25%)
  50. ........................................................... 2655 / 10001 ( 26%)
  51. ........................................................... 2714 / 10001 ( 27%)
  52. ........................................................... 2773 / 10001 ( 27%)
  53. ........................................................... 2832 / 10001 ( 28%)
  54. ........................................................... 2891 / 10001 ( 28%)
  55. ........................................................... 2950 / 10001 ( 29%)
  56. ........................................................... 3009 / 10001 ( 30%)
  57. ........................................................... 3068 / 10001 ( 30%)
  58. ........................................................... 3127 / 10001 ( 31%)
  59. ........................................................... 3186 / 10001 ( 31%)
  60. ........................................................... 3245 / 10001 ( 32%)
  61. ........................................................... 3304 / 10001 ( 33%)
  62. ........................................................... 3363 / 10001 ( 33%)
  63. ........................................................... 3422 / 10001 ( 34%)
  64. ........................................................... 3481 / 10001 ( 34%)
  65. ........................................................... 3540 / 10001 ( 35%)
  66. ........................................................... 3599 / 10001 ( 35%)
  67. ........................................................... 3658 / 10001 ( 36%)
  68. ........................................................... 3717 / 10001 ( 37%)
  69. ........................................................... 3776 / 10001 ( 37%)
  70. ........................................................... 3835 / 10001 ( 38%)
  71. ........................................................... 3894 / 10001 ( 38%)
  72. ........................................................... 3953 / 10001 ( 39%)
  73. ........................................................... 4012 / 10001 ( 40%)
  74. ........................................................... 4071 / 10001 ( 40%)
  75. ........................................................... 4130 / 10001 ( 41%)
  76. ...................................SS....SSSS..SS.......... 4189 / 10001 ( 41%)
  77. ......................................EE................... 4248 / 10001 ( 42%)
  78. ........................................................... 4307 / 10001 ( 43%)
  79. ........................................................... 4366 / 10001 ( 43%)
  80. ........................................................... 4425 / 10001 ( 44%)
  81. .......................................SSSSS............... 4484 / 10001 ( 44%)
  82. ........................................................... 4543 / 10001 ( 45%)
  83. ........................................................... 4602 / 10001 ( 46%)
  84. ........................................................... 4661 / 10001 ( 46%)
  85. ......................................................FFFFF 4720 / 10001 ( 47%)
  86. FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEFFF.................... 4779 / 10001 ( 47%)
  87. ........................................................... 4838 / 10001 ( 48%)
  88. ........................................................... 4897 / 10001 ( 48%)
  89. ........................................................... 4956 / 10001 ( 49%)
  90. ........................................................... 5015 / 10001 ( 50%)
  91. ........................................................... 5074 / 10001 ( 50%)
  92. .......................................EEE................. 5133 / 10001 ( 51%)
  93. ........................................................... 5192 / 10001 ( 51%)
  94. ........................................................... 5251 / 10001 ( 52%)
  95. ........................................................... 5310 / 10001 ( 53%)
  96. ........................................................... 5369 / 10001 ( 53%)
  97. ........................................................... 5428 / 10001 ( 54%)
  98. ........................................................... 5487 / 10001 ( 54%)
  99. ........................................................... 5546 / 10001 ( 55%)
  100. ........................................................... 5605 / 10001 ( 56%)
  101. ........................................................... 5664 / 10001 ( 56%)
  102. ........................................................... 5723 / 10001 ( 57%)
  103. ........................................................... 5782 / 10001 ( 57%)
  104. ........................................................... 5841 / 10001 ( 58%)
  105. ........................................................... 5900 / 10001 ( 58%)
  106. ........................................................... 5959 / 10001 ( 59%)
  107. ........................................................... 6018 / 10001 ( 60%)
  108. ........................................................... 6077 / 10001 ( 60%)
  109. ........................................................... 6136 / 10001 ( 61%)
  110. ........................................................... 6195 / 10001 ( 61%)
  111. ........................................................... 6254 / 10001 ( 62%)
  112. ........................................................... 6313 / 10001 ( 63%)
  113. ........................................................... 6372 / 10001 ( 63%)
  114. ........................................................... 6431 / 10001 ( 64%)
  115. ........................................................... 6490 / 10001 ( 64%)
  116. ........................................................... 6549 / 10001 ( 65%)
  117. ........................................................... 6608 / 10001 ( 66%)
  118. .........SSSSSSSSSSSSSS...E.............................E.. 6667 / 10001 ( 66%)
  119. .................................S.S....................... 6726 / 10001 ( 67%)
  120. ........................................................... 6785 / 10001 ( 67%)
  121. .SSS..SSSSSSSSSSSSSSSS....S.........................S...... 6844 / 10001 ( 68%)
  122. ........................................................... 6903 / 10001 ( 69%)
  123. ........................................................... 6962 / 10001 ( 69%)
  124. ..S........................................................ 7021 / 10001 ( 70%)
  125. ........................................................... 7080 / 10001 ( 70%)
  126. ........................................................... 7139 / 10001 ( 71%)
  127. ........................................................... 7198 / 10001 ( 71%)
  128. ........................................................... 7257 / 10001 ( 72%)
  129. ........................................................... 7316 / 10001 ( 73%)
  130. ........................................................... 7375 / 10001 ( 73%)
  131. ........................................................... 7434 / 10001 ( 74%)
  132. ........................................................... 7493 / 10001 ( 74%)
  133. ........................................................... 7552 / 10001 ( 75%)
  134. ........................................................... 7611 / 10001 ( 76%)
  135. ........................................................... 7670 / 10001 ( 76%)
  136. ........................................................... 7729 / 10001 ( 77%)
  137. ........................................................... 7788 / 10001 ( 77%)
  138. ........................................................... 7847 / 10001 ( 78%)
  139. ........................................................... 7906 / 10001 ( 79%)
  140. ........................................................... 7965 / 10001 ( 79%)
  141. ........................................................... 8024 / 10001 ( 80%)
  142. ........................................................... 8083 / 10001 ( 80%)
  143. ........................................................... 8142 / 10001 ( 81%)
  144. ........................................................... 8201 / 10001 ( 82%)
  145. ........................................................... 8260 / 10001 ( 82%)
  146. ........................................................... 8319 / 10001 ( 83%)
  147. ........................................................... 8378 / 10001 ( 83%)
  148. ........................................................... 8437 / 10001 ( 84%)
  149. ........................................................... 8496 / 10001 ( 84%)
  150. ........................................................... 8555 / 10001 ( 85%)
  151. ........................................................... 8614 / 10001 ( 86%)
  152. ........................................................... 8673 / 10001 ( 86%)
  153. ........................................................... 8732 / 10001 ( 87%)
  154. ........................................................... 8791 / 10001 ( 87%)
  155. ........................................................... 8850 / 10001 ( 88%)
  156. ........................................................... 8909 / 10001 ( 89%)
  157. ........................................................... 8968 / 10001 ( 89%)
  158. ........................................................... 9027 / 10001 ( 90%)
  159. ........................................................... 9086 / 10001 ( 90%)
  160. ........................................................... 9145 / 10001 ( 91%)
  161. ........................................................... 9204 / 10001 ( 92%)
  162. ........................................................... 9263 / 10001 ( 92%)
  163. ........................................................... 9322 / 10001 ( 93%)
  164. ........................................................... 9381 / 10001 ( 93%)
  165. ............................SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS. 9440 / 10001 ( 94%)
  166. ........................................................... 9499 / 10001 ( 94%)
  167. ........................................................... 9558 / 10001 ( 95%)
  168. ........................................................... 9617 / 10001 ( 96%)
  169. ........................................................... 9676 / 10001 ( 96%)
  170. ........................................................... 9735 / 10001 ( 97%)
  171. ........................................................... 9794 / 10001 ( 97%)
  172. ........................................................... 9853 / 10001 ( 98%)
  173. ........................................................... 9912 / 10001 ( 99%)
  174. ............................SSSSSSSSSSSSS.................. 9971 / 10001 ( 99%)
  175. .............................. 10001 / 10001 (100%)
  176.  
  177. Time: 1.28 hours, Memory: 638.00MB
  178.  
  179. There were 12 errors:
  180.  
  181. 1) core_scheduled_task_testcase::test_file_temp_cleanup_task
  182. UnexpectedValueException: RecursiveDirectoryIterator::__construct(C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup,C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup): The system cannot find the file specified. (code: 2)
  183.  
  184. C:\Users\stronk7\git\integration\master\lib\classes\task\file_temp_cleanup_task.php:51
  185. C:\Users\stronk7\git\integration\master\lib\classes\task\file_temp_cleanup_task.php:115
  186. C:\Users\stronk7\git\integration\master\lib\tests\scheduled_task_test.php:465
  187. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  188.  
  189. To re-run:
  190. vendor/bin/phpunit core_scheduled_task_testcase lib/tests/scheduled_task_test.php
  191.  
  192. 2) core_backup_moodle1_converter_testcase::test_question_bank_conversion
  193. rename(C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup/40fe6601815ac367706e68461c1ad6ee_moodle1_077a5cb11221542b3c1fd8f0798c7914,C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup/40fe6601815ac367706e68461c1ad6ee): Access is denied. (code: 5)
  194.  
  195. C:\Users\stronk7\git\integration\master\backup\converter\convertlib.php:250
  196. C:\Users\stronk7\git\integration\master\backup\converter\convertlib.php:132
  197. C:\Users\stronk7\git\integration\master\backup\converter\moodle1\tests\moodle1_converter_test.php:573
  198. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  199.  
  200. To re-run:
  201. vendor/bin/phpunit core_backup_moodle1_converter_testcase backup/converter/moodle1/tests/moodle1_converter_test.php
  202.  
  203. 3) core_backup_moodle1_converter_testcase::test_convert_run_convert
  204. rename(C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup/b99520f64fa59065d402e9664bb4f50a_moodle1_fe022b8ee341c49b035f982e61ef96d4,C:\Users\stronk7\moodledata\integration\master_phpunit/temp/backup/b99520f64fa59065d402e9664bb4f50a): Access is denied. (code: 5)
  205.  
  206. C:\Users\stronk7\git\integration\master\backup\converter\convertlib.php:250
  207. C:\Users\stronk7\git\integration\master\backup\converter\convertlib.php:132
  208. C:\Users\stronk7\git\integration\master\backup\converter\moodle1\tests\moodle1_converter_test.php:579
  209. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  210.  
  211. To re-run:
  212. vendor/bin/phpunit core_backup_moodle1_converter_testcase backup/converter/moodle1/tests/moodle1_converter_test.php
  213.  
  214. 4) moodle_content_writer_test::test_export_data_unescaped_unicode with data set "Unicode" ('ةكءيٓ‌پچژکگیٹڈڑہھےâîûğŞAaÇÖáǽ你好!')
  215. Error: Call to a member function getContent() on null
  216.  
  217. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:818
  218. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  219.  
  220. To re-run:
  221. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  222.  
  223. 5) moodle_content_writer_test::test_export_metadata_unescaped_unicode with data set "Unicode" ('ةكءيٓ‌پچژکگیٹڈڑہھےâîûğŞAaÇÖáǽ你好!')
  224. Error: Call to a member function getContent() on null
  225.  
  226. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:843
  227. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  228.  
  229. To re-run:
  230. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  231.  
  232. 6) moodle_content_writer_test::test_export_related_data_unescaped_unicode with data set "Unicode" ('ةكءيٓ‌پچژکگیٹڈڑہھےâîûğŞAaÇÖáǽ你好!')
  233. Error: Call to a member function getContent() on null
  234.  
  235. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:871
  236. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  237.  
  238. To re-run:
  239. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  240.  
  241. 7) moodle_content_writer_test::test_export_user_preference_unescaped_unicode with data set "Unicode" ('ةكءيٓ‌پچژکگیٹڈڑہھےâîûğŞAaÇÖáǽ你好!')
  242. Error: Call to a member function getContent() on null
  243.  
  244. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:896
  245. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  246.  
  247. To re-run:
  248. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  249.  
  250. 8) tests_content_writer_test::test_export_file_special_folders
  251. Undefined index: files
  252.  
  253. C:\Users\stronk7\git\integration\master\privacy\tests\tests_content_writer_test.php:298
  254. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  255.  
  256. To re-run:
  257. vendor/bin/phpunit tests_content_writer_test privacy/tests/tests_content_writer_test.php
  258.  
  259. 9) tests_content_writer_test::test_export_file_no_context_clash
  260. Undefined index: foo/foo.txt
  261.  
  262. C:\Users\stronk7\git\integration\master\privacy\tests\tests_content_writer_test.php:323
  263. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  264.  
  265. To re-run:
  266. vendor/bin/phpunit tests_content_writer_test privacy/tests/tests_content_writer_test.php
  267.  
  268. 10) tests_content_writer_test::test_get_file_with_children
  269. Undefined index: foo/foo.txt
  270.  
  271. C:\Users\stronk7\git\integration\master\privacy\tests\tests_content_writer_test.php:347
  272. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  273.  
  274. To re-run:
  275. vendor/bin/phpunit tests_content_writer_test privacy/tests/tests_content_writer_test.php
  276.  
  277. 11) assignfeedback_file_privacy_testcase::test_export_feedback_user_data
  278. Undefined index: feedback1.txt
  279.  
  280. C:\Users\stronk7\git\integration\master\mod\assign\feedback\file\tests\privacy_test.php:131
  281. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  282.  
  283. To re-run:
  284. vendor/bin/phpunit assignfeedback_file_privacy_testcase mod/assign/feedback/file/tests/privacy_test.php
  285.  
  286. 12) assignsubmission_file_privacy_testcase::test_export_submission_user_data
  287. Undefined index: user1file.pdf
  288.  
  289. C:\Users\stronk7\git\integration\master\mod\assign\submission\file\tests\privacy_test.php:108
  290. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  291.  
  292. To re-run:
  293. vendor/bin/phpunit assignsubmission_file_privacy_testcase mod/assign/submission/file/tests/privacy_test.php
  294.  
  295. --
  296.  
  297. There were 43 failures:
  298.  
  299. 1) cronlib_testcase::test_cron_delete_from_temp with data set #0 (array(stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...), stdClass Object (...)), array('C:\Users\stronk7\moodledata\i...p\dir1', 'C:\Users\stronk7\moodledata\i...dir1_1', 'C:\Users\stronk7\moodledata\i...r1_1_1', 'C:\Users\stronk7\moodledata\i..._1_1_2', 'C:\Users\stronk7\moodledata\i...dir1_2', 'C:\Users\stronk7\moodledata\i..._1_2_2', 'C:\Users\stronk7\moodledata\i...p\dir2', 'C:\Users\stronk7\moodledata\i...p\dir4', 'C:\Users\stronk7\moodledata\i...dir4_1', 'C:\Users\stronk7\moodledata\i...r4_1_1', 'C:\Users\stronk7\moodledata\i...\file1'))
  300. Failed asserting that two arrays are equal.
  301. --- Expected
  302. +++ Actual
  303. @@ @@
  304. Array (
  305. - 0 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1'
  306. - 1 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1'
  307. - 2 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1\dir1_1_1'
  308. - 3 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1\dir1_1_1\file1_1_1_2'
  309. - 4 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_2'
  310. - 5 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_2\file1_1_2_2'
  311. - 6 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir2'
  312. - 7 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir4'
  313. - 8 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir4\dir4_1'
  314. - 9 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir4\dir4_1\dir4_1_1'
  315. - 10 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\file1'
  316. + 0 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\.htaccess'
  317. + 1 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\backup'
  318. + 2 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1'
  319. + 3 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1'
  320. + 4 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1\dir1_1_1'
  321. + 5 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_1\dir1_1_1\file1_1_1_2'
  322. + 6 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_2'
  323. + 7 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir1\dir1_2\file1_1_2_2'
  324. + 8 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir2'
  325. + 9 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir4'
  326. + 10 => 'C:\Users\stronk7\moodledata\integration\master_phpunit\temp\dir4\dir4_1'
  327. + 11 => 'C:\Users\stronk7\moodledata\i...r4_1_1'
  328. + 12 => 'C:\Users\stronk7\moodledata\i...\file1'
  329.  
  330. C:\Users\stronk7\git\integration\master\lib\tests\cronlib_test.php:184
  331. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\basic_testcase.php:64
  332.  
  333. To re-run:
  334. vendor/bin/phpunit cronlib_testcase lib/tests/cronlib_test.php
  335.  
  336. 2) cronlib_testcase::test_cron_delete_from_temp with data set #1 (array(), array())
  337. Failed asserting that two arrays are equal.
  338. --- Expected
  339. +++ Actual
  340. @@ @@
  341. Array (
  342. + 0 => 'C:\Users\stronk7\moodledata\i...access'
  343. + 1 => 'C:\Users\stronk7\moodledata\i...backup'
  344.  
  345. C:\Users\stronk7\git\integration\master\lib\tests\cronlib_test.php:184
  346. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\basic_testcase.php:64
  347.  
  348. To re-run:
  349. vendor/bin/phpunit cronlib_testcase lib/tests/cronlib_test.php
  350.  
  351. 3) core_environment_testcase::test_environment
  352. Problem detected in environment (php_extension:xmlrpc), fix all warnings and errors!
  353. Failed asserting that false is true.
  354.  
  355. C:\Users\stronk7\git\integration\master\lib\tests\environment_test.php:63
  356. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  357.  
  358. To re-run:
  359. vendor/bin/phpunit core_environment_testcase lib/tests/environment_test.php
  360.  
  361. 4) moodle_content_writer_test::test_export_data with data set "basic" (stdClass Object (...))
  362. Failed asserting that false is true.
  363.  
  364. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:58
  365. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  366.  
  367. To re-run:
  368. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  369.  
  370. 5) moodle_content_writer_test::test_export_data_different_context with data set "basic" (stdClass Object (...))
  371. Failed asserting that false is true.
  372.  
  373. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:82
  374. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  375.  
  376. To re-run:
  377. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  378.  
  379. 6) moodle_content_writer_test::test_export_data_writes_to_multiple_context
  380. Failed asserting that false is true.
  381.  
  382. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:117
  383. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  384.  
  385. To re-run:
  386. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  387.  
  388. 7) moodle_content_writer_test::test_export_data_multiple_writes_same_context
  389. Failed asserting that false is true.
  390.  
  391. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:159
  392. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  393.  
  394. To re-run:
  395. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  396.  
  397. 8) moodle_content_writer_test::test_export_metadata with data set "basic" ('key', 'value', 'This is a description')
  398. Failed asserting that false is true.
  399.  
  400. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:200
  401. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  402.  
  403. To re-run:
  404. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  405.  
  406. 9) moodle_content_writer_test::test_export_metadata with data set "valuewithspaces" ('key', 'value has mixed', 'This is a description')
  407. Failed asserting that false is true.
  408.  
  409. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:200
  410. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  411.  
  412. To re-run:
  413. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  414.  
  415. 10) moodle_content_writer_test::test_export_metadata with data set "encodedvalue" ('key', 'dmFsdWUgaGFzIG1peGVk', 'This is a description')
  416. Failed asserting that false is true.
  417.  
  418. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:200
  419. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  420.  
  421. To re-run:
  422. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  423.  
  424. 11) moodle_content_writer_test::test_export_metadata_additive
  425. Failed asserting that false is true.
  426.  
  427. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:229
  428. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  429.  
  430. To re-run:
  431. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  432.  
  433. 12) moodle_content_writer_test::test_export_metadata_to_multiple_contexts
  434. Failed asserting that false is true.
  435.  
  436. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:266
  437. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  438.  
  439. To re-run:
  440. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  441.  
  442. 13) moodle_content_writer_test::test_export_area_files
  443. Failed asserting that false is true.
  444.  
  445. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:405
  446. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  447.  
  448. To re-run:
  449. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  450.  
  451. 14) moodle_content_writer_test::test_export_file with data set "basic" ('intro', 0, '/', 'testfile.txt', 'An example file content')
  452. Failed asserting that false is true.
  453.  
  454. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  455. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  456.  
  457. To re-run:
  458. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  459.  
  460. 15) moodle_content_writer_test::test_export_file with data set "longpath" ('attachments', '12', '/path/within/a/path/within/a/path/', 'testfile.txt', 'An example file content')
  461. Failed asserting that false is true.
  462.  
  463. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  464. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  465.  
  466. To re-run:
  467. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  468.  
  469. 16) moodle_content_writer_test::test_export_file with data set "pathwithspaces" ('intro', 0, '/path with/some spaces/', 'testfile.txt', 'An example file content')
  470. Failed asserting that false is true.
  471.  
  472. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  473. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  474.  
  475. To re-run:
  476. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  477.  
  478. 17) moodle_content_writer_test::test_export_file with data set "filewithspaces" ('submission_attachments', 1, '/path with/some spaces/', 'test file.txt', 'An example file content')
  479. Failed asserting that false is true.
  480.  
  481. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  482. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  483.  
  484. To re-run:
  485. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  486.  
  487. 18) moodle_content_writer_test::test_export_file with data set "image" ('intro', 0, '/', 'logo.png', Binary String: 0x89504e470d0a1...e426082)
  488. Failed asserting that false is true.
  489.  
  490. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  491. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  492.  
  493. To re-run:
  494. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  495.  
  496. 19) moodle_content_writer_test::test_export_file with data set "UTF8" ('submission_content', 2, '/Žluťoučký/', 'koníček.txt', 'koníček')
  497. Failed asserting that false is true.
  498.  
  499. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  500. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  501.  
  502. To re-run:
  503. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  504.  
  505. 20) moodle_content_writer_test::test_export_file with data set "EUC-JP" ('intro', 0, '/言語設定/', '言語設定.txt', '言語設定')
  506. Failed asserting that false is true.
  507.  
  508. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:450
  509. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  510.  
  511. To re-run:
  512. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  513.  
  514. 21) moodle_content_writer_test::test_export_user_preference_context_user with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  515. Failed asserting that false is true.
  516.  
  517. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:535
  518. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  519.  
  520. To re-run:
  521. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  522.  
  523. 22) moodle_content_writer_test::test_export_user_preference_context_user with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  524. Failed asserting that false is true.
  525.  
  526. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:535
  527. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  528.  
  529. To re-run:
  530. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  531.  
  532. 23) moodle_content_writer_test::test_export_user_preference_context_user with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  533. Failed asserting that false is true.
  534.  
  535. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:535
  536. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  537.  
  538. To re-run:
  539. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  540.  
  541. 24) moodle_content_writer_test::test_export_user_preference_context_coursecat with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  542. Failed asserting that false is true.
  543.  
  544. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:568
  545. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  546.  
  547. To re-run:
  548. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  549.  
  550. 25) moodle_content_writer_test::test_export_user_preference_context_coursecat with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  551. Failed asserting that false is true.
  552.  
  553. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:568
  554. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  555.  
  556. To re-run:
  557. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  558.  
  559. 26) moodle_content_writer_test::test_export_user_preference_context_coursecat with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  560. Failed asserting that false is true.
  561.  
  562. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:568
  563. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  564.  
  565. To re-run:
  566. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  567.  
  568. 27) moodle_content_writer_test::test_export_user_preference_context_course with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  569. Failed asserting that false is true.
  570.  
  571. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:602
  572. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  573.  
  574. To re-run:
  575. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  576.  
  577. 28) moodle_content_writer_test::test_export_user_preference_context_course with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  578. Failed asserting that false is true.
  579.  
  580. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:602
  581. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  582.  
  583. To re-run:
  584. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  585.  
  586. 29) moodle_content_writer_test::test_export_user_preference_context_course with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  587. Failed asserting that false is true.
  588.  
  589. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:602
  590. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  591.  
  592. To re-run:
  593. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  594.  
  595. 30) moodle_content_writer_test::test_export_user_preference_context_module with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  596. Failed asserting that false is true.
  597.  
  598. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:637
  599. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  600.  
  601. To re-run:
  602. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  603.  
  604. 31) moodle_content_writer_test::test_export_user_preference_context_module with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  605. Failed asserting that false is true.
  606.  
  607. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:637
  608. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  609.  
  610. To re-run:
  611. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  612.  
  613. 32) moodle_content_writer_test::test_export_user_preference_context_module with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  614. Failed asserting that false is true.
  615.  
  616. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:637
  617. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  618.  
  619. To re-run:
  620. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  621.  
  622. 33) moodle_content_writer_test::test_export_user_preference_context_block with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  623. Failed asserting that false is true.
  624.  
  625. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:670
  626. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  627.  
  628. To re-run:
  629. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  630.  
  631. 34) moodle_content_writer_test::test_export_user_preference_context_block with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  632. Failed asserting that false is true.
  633.  
  634. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:670
  635. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  636.  
  637. To re-run:
  638. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  639.  
  640. 35) moodle_content_writer_test::test_export_user_preference_context_block with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  641. Failed asserting that false is true.
  642.  
  643. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:670
  644. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  645.  
  646. To re-run:
  647. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  648.  
  649. 36) moodle_content_writer_test::test_export_user_preference_context_system with data set "basic" ('core_privacy', 'onekey', 'value', 'description')
  650. Failed asserting that false is true.
  651.  
  652. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:698
  653. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  654.  
  655. To re-run:
  656. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  657.  
  658. 37) moodle_content_writer_test::test_export_user_preference_context_system with data set "encodedvalue" ('core_privacy', 'donkey', 'dmFsdWU=', 'description')
  659. Failed asserting that false is true.
  660.  
  661. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:698
  662. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  663.  
  664. To re-run:
  665. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  666.  
  667. 38) moodle_content_writer_test::test_export_user_preference_context_system with data set "long description" ('core_privacy', 'twokey', 'value', 'This is a much longer descrip... blah.')
  668. Failed asserting that false is true.
  669.  
  670. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:698
  671. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  672.  
  673. To re-run:
  674. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  675.  
  676. 39) moodle_content_writer_test::test_export_multiple_user_preference_context_system
  677. Failed asserting that false is true.
  678.  
  679. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:724
  680. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  681.  
  682. To re-run:
  683. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  684.  
  685. 40) moodle_content_writer_test::test_export_user_preference_replace
  686. Failed asserting that false is true.
  687.  
  688. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:760
  689. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  690.  
  691. To re-run:
  692. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  693.  
  694. 41) moodle_content_writer_test::test_rewrite_pluginfile_urls with data set "zeroitemid" ('intro', 0, '<p><img src="@@PLUGINFILE@@/h.../></p>', '<p><img src="_files/intro/hel.../></p>')
  695. Failed asserting that two strings are equal.
  696. --- Expected
  697. +++ Actual
  698. @@ @@
  699. -'<p><img src="_files/intro/hello.gif" /></p>'
  700. +'<p><img src="_files\intro/hello.gif" /></p>'
  701.  
  702. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:988
  703. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  704.  
  705. To re-run:
  706. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  707.  
  708. 42) moodle_content_writer_test::test_rewrite_pluginfile_urls with data set "nonzeroitemid" ('submission_content', 34, '<p><img src="@@PLUGINFILE@@/f.../></p>', '<p><img src="_files/submissio.../></p>')
  709. Failed asserting that two strings are equal.
  710. --- Expected
  711. +++ Actual
  712. @@ @@
  713. -'<p><img src="_files/submission_content/34/first.png" alt="First" /></p>'
  714. +'<p><img src="_files\submission_content\34/first.png" alt="First" /></p>'
  715.  
  716. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:988
  717. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  718.  
  719. To re-run:
  720. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  721.  
  722. 43) moodle_content_writer_test::test_rewrite_pluginfile_urls with data set "withfilepath" ('post_content', 9889, '<a href="@@PLUGINFILE@@/embed...e!</a>', '<a href="_files/post_content/...e!</a>')
  723. Failed asserting that two strings are equal.
  724. --- Expected
  725. +++ Actual
  726. @@ @@
  727. -'<a href="_files/post_content/9889/embedded/docs/muhehe.exe">Click here!</a>'
  728. +'<a href="_files\post_content\9889/embedded/docs/muhehe.exe">Click here!</a>'
  729.  
  730. C:\Users\stronk7\git\integration\master\privacy\tests\moodle_content_writer_test.php:988
  731. C:\Users\stronk7\git\integration\master\lib\phpunit\classes\advanced_testcase.php:80
  732.  
  733. To re-run:
  734. vendor/bin/phpunit moodle_content_writer_test privacy/tests/moodle_content_writer_test.php
  735.  
  736. ERRORS!
  737. Tests: 10001, Assertions: 98826, Errors: 12, Failures: 43, Skipped: 105.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement