Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293396

Some tests only go green because they happen to run as UID1

$
0
0

Spin-off from #540008: [PP-1] Remove the special behavior of uid #1. as requested by catch. This only contains those tests that had rather straightforward fixes for going green because they so happened to run as UID1 by accident. All the documentation regarding why the individual tests needed changes can be found in the parent issue's comments.

Map of changes:

  • CommentDefaultFormatterCacheTagsTest: #65.1, #70, #72, #74
  • CommentAdminViewTest: #9 (minimal changes), #131 (with test coverage rethinking)
  • CommentViewsKernelTestBase: #65-2
  • TextFormatElementFormTest: #95-5 (number by #94),
    #148-2 (non blocking offer, can be done later)
  • FieldRenderedEntityTest: #70
  • EntityAutocompleteElementFormTest: #67
  • See also #168 with a tests split map.

Viewing all articles
Browse latest Browse all 293396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>