Advertisement
stronk7

Untitled

Mar 29th, 2020
254
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. │ Failed asserting that true is identical to 'match'.
  28. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  29. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  30. ✔ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db email (1C) - longmail"
  31. ✘ Precheck user with data set "samesite match existing alive in db, deleted in backup (1D) - longmail"
  32. │ Failed asserting that true is identical to 'match'.
  33. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  34. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  35. ✔ Precheck user with data set "samesite conflict (1E) - longmail"
  36. ✔ Precheck user with data set "samesite create user (1F) - longmail"
  37. ✔ Precheck user with data set "no samesite match existing, by db email (2A1) - longmail"
  38. ✔ Precheck user with data set "no samesite match existing, by db firstaccess (2A1) - longmail"
  39. ✔ Precheck user with data set "no samesite match existing anon (2A1 too) - longmail"
  40. ✔ Precheck user with data set "no samesite match dupe admin (2A2) - longmail"
  41. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db username (2B1) - longmail"
  42. │ Failed asserting that true is identical to 'match'.
  43. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  44. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  45. ✔ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db firstaccess (2B1) - longmail"
  46. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup (2B2) - longmail"
  47. │ Failed asserting that true is identical to 'match'.
  48. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  49. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  50. ✘ Precheck user with data set "no samesite match existing alive in db, deleted in backup (2C) - longmail"
  51. │ Failed asserting that true is identical to 'match'.
  52. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  53. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  54. ✔ Precheck user with data set "no samesite conflict (2D) - longmail"
  55. ✔ Precheck user with data set "no samesite create user (2E) - longmail"
  56.  
  57. Time: 10.87 seconds, Memory: 92.25 MB
  58.  
  59. Summary of non-successful tests:
  60.  
  61. restore_dbops_testcase
  62. ✘ Precheck user with data set "samesite match existing deleted in db, alive in backup, by db username (1C) - longmail"
  63. │ Failed asserting that true is identical to 'match'.
  64. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  65. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  66.  
  67. ✘ Precheck user with data set "samesite match existing alive in db, deleted in backup (1D) - longmail"
  68. │ Failed asserting that true is identical to 'match'.
  69. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  70. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  71.  
  72. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup, by db username (2B1) - longmail"
  73. │ Failed asserting that true is identical to 'match'.
  74. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  75. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  76.  
  77. ✘ Precheck user with data set "no samesite match existing deleted in db, alive in backup (2B2) - longmail"
  78. │ Failed asserting that true is identical to 'match'.
  79. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  80. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  81.  
  82. ✘ Precheck user with data set "no samesite match existing alive in db, deleted in backup (2C) - longmail"
  83. │ Failed asserting that true is identical to 'match'.
  84. │ /Users/stronk7/git_moodle/moodle/backup/util/dbops/tests/restore_dbops_test.php:348
  85. │ /Users/stronk7/git_moodle/moodle/lib/phpunit/classes/advanced_testcase.php:80
  86.  
  87. FAILURES!
  88. Tests: 34, Assertions: 34, Failures: 5.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement