Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
phpunit
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2016 at 18:54 UTC
Updated:
27 Sep 2016 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jmuzz commentedComment #3
jmuzz commentedComment #5
dawehnerThe tests look great!
What about simplifying this code a bit and use $index = 0 by default and then get rid of the if condition and else codepart?
Comment #6
claudiu.cristeaThis is a regression from WebTestBase, so it's a bug. For this reason it should go in 8.2.x as well.
Comment #7
dawehnerThank you for simplifying the code!
Comment #10
catchThis is a test improvement (borderline bug/regression) so eligible during rc.
Committed/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!