stronk7

Untitled

Mar 29th, 2020
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.83 KB | None | 0 0
  1. $ vendor/bin/phpunit -c backup/util/dbops --filter test_precheck_user --testdox --coverage-html /tmp/tt
  2. Moodle 3.9dev (Build: 20200327), 026f9e43011ac380ff944428fb9165ef1706132f
  3. Php: 7.2.29, pgsql: 9.6.17, OS: Darwin 19.3.0 x86_64
  4. PHPUnit 7.5.18 by Sebastian Bergmann and contributors.
  5.  
  6. restore_dbops_testcase
  7. ✔ Precheck user with data set "samesite match existing (1A) - shortmail"
  8. ✔ Precheck user with data set "samesite match existing anon (1B) - shortmail"
  9. ✔ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db username (1C) - shortmail"
  10. ✔ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db email (1C) - shortmail"
  11. ✔ Precheck user with data set "samesite match existing alive in db, deleted in backup (1D) - shortmail"
  12. ✔ Precheck user with data set "samesite conflict (1E) - shortmail"
  13. ✔ Precheck user with data set "samesite create user (1F) - shortmail"
  14. ✔ Precheck user with data set "no samesite match existing, by db email (2A1) - shortmail"
  15. ✔ Precheck user with data set "no samesite match existing, by db firstaccess (2A1) - shortmail"
  16. ✔ Precheck user with data set "no samesite match existing anon (2A1 too) - shortmail"
  17. ✔ Precheck user with data set "no samesite match dupe admin (2A2) - shortmail"
  18. ✔ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db username (2B1) - shortmail"
  19. ✔ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db firstaccess (2B1) - shortmail"
  20. ✔ Precheck user with data set "no samesite match existing deleted in db, alive in backup (2B2) - shortmail"
  21. ✔ Precheck user with data set "no samesite match existing alive in db, deleted in backup (2C) - shortmail"
  22. ✔ Precheck user with data set "no samesite conflict (2D) - shortmail"
  23. ✔ Precheck user with data set "no samesite create user (2E) - shortmail"
  24. ✔ Precheck user with data set "samesite match existing (1A) - longmail"
  25. ✔ Precheck user with data set "samesite match existing anon (1B) - longmail"
  26. ✘ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db username (1C) - longmail"
  27. │
  28. │ Failed asserting that true is identical to 'match'.
  29. │
  30. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  31. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  32. │
  33. ✔ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db email (1C) - longmail"
  34. ✘ Precheck user with data set "samesite match existing alive in db, deleted in backup (1D) - longmail"
  35. │
  36. │ Failed asserting that true is identical to 'match'.
  37. │
  38. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  39. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  40. │
  41. ✔ Precheck user with data set "samesite conflict (1E) - longmail"
  42. ✔ Precheck user with data set "samesite create user (1F) - longmail"
  43. ✔ Precheck user with data set "no samesite match existing, by db email (2A1) - longmail"
  44. ✔ Precheck user with data set "no samesite match existing, by db firstaccess (2A1) - longmail"
  45. ✔ Precheck user with data set "no samesite match existing anon (2A1 too) - longmail"
  46. ✔ Precheck user with data set "no samesite match dupe admin (2A2) - longmail"
  47. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db username (2B1) - longmail"
  48. │
  49. │ Failed asserting that true is identical to 'match'.
  50. │
  51. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  52. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  53. │
  54. ✔ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db firstaccess (2B1) - longmail"
  55. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup (2B2) - longmail"
  56. │
  57. │ Failed asserting that true is identical to 'match'.
  58. │
  59. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  60. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  61. │
  62. ✘ Precheck user with data set "no samesite match existing alive in db, deleted in backup (2C) - longmail"
  63. │
  64. │ Failed asserting that true is identical to 'match'.
  65. │
  66. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  67. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  68. │
  69. ✔ Precheck user with data set "no samesite conflict (2D) - longmail"
  70. ✔ Precheck user with data set "no samesite create user (2E) - longmail"
  71.  
  72. Time: 10.87 seconds, Memory: 92.25 MB
  73.  
  74. Summary of non-successful tests:
  75.  
  76. restore_dbops_testcase
  77. ✘ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db username (1C) - longmail"
  78. │
  79. │ Failed asserting that true is identical to 'match'.
  80. │
  81. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  82. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  83. │
  84.  
  85. ✘ Precheck user with data set "samesite match existing alive in db, deleted in backup (1D) - longmail"
  86. │
  87. │ Failed asserting that true is identical to 'match'.
  88. │
  89. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  90. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  91. │
  92.  
  93. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db username (2B1) - longmail"
  94. │
  95. │ Failed asserting that true is identical to 'match'.
  96. │
  97. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  98. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  99. │
  100.  
  101. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup (2B2) - longmail"
  102. │
  103. │ Failed asserting that true is identical to 'match'.
  104. │
  105. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  106. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  107. │
  108.  
  109. ✘ Precheck user with data set "no samesite match existing alive in db, deleted in backup (2C) - longmail"
  110. │
  111. │ Failed asserting that true is identical to 'match'.
  112. │
  113. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  114. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  115. │
  116.  
  117. FAILURES!
  118. Tests: 34, Assertions: 34, Failures: 5.
Advertisement
Add Comment
Please, Sign In to add comment