Also, I'm not sure whether we're supposed to keep those objects around, or just keep calling $this->assertSession(). I'll leave it as-is for now since it passes and there's no decent docs on the topic.
And... Since we're now in a PHPUnit-based environment, providerMenuLinks() can be a real @dataProvider. :-)
Comments
Comment #2
rfayComment #4
mile23Needs to be in
/tests/src/Functional/...Let's name it
$assert_session.Also, I'm not sure whether we're supposed to keep those objects around, or just keep calling
$this->assertSession(). I'll leave it as-is for now since it passes and there's no decent docs on the topic.And... Since we're now in a PHPUnit-based environment,
providerMenuLinks()can be a real@dataProvider. :-)Fixed on commit. Thanks!