Since the menu unit tests weren't really working, we just removed them for now from the module in #2482655: Drupal.org test bot doesn't run our PHPUnit tests to get the tests passing again.
Of course, removing failing tests isn't really a viable plan in the long run, so we should re-add them.
Estimated Value and Story Points
This issue was identified as a Beta Blocker for Drupal 8. We sat down and figured out the value proposition and amount of work (story points) for this issue.
Value and Story points are in the scale of fibonacci. Our minimum is 1, our maximum is 21. The higher, the more value or work a certain issue has.
Value : 1
Story Points: 5
Comment | File | Size | Author |
---|---|---|---|
#6 | 2493863-6--local_tasks_test.patch | 2.71 KB | drunken monkey |
|
Comments
Comment #1
drunken monkeyHere is the patch that would just re-add the old tests, in the propre location.
But it's of course expected to fail.
Comment #3
Nick_vhComment #4
borisson_I deleted the
LocalActionsTest
as that one was empty anyway and made sure theLocalTasksTest
works.This is probably not going to work on every machine because in the
::setUp
method we refer to the 'modules/search_api' module. I'll see if I can figure that out.Comment #5
borisson_The code fix my comment in #4 was actually really simple. See attached patch.
Comment #6
drunken monkeyAny reason why that doesn't contain the "Fields" tab? (Worked fine for me with it, too, so adding that.)
Otherwise, looks pretty good, thanks for making it work!
Comment #7
borisson_No specific reason, no. I just forgot :(
Comment #8
Nick_vhNo need to be sad! This patch is looking great. Good candidate for RTBC. If someone can verify this works locally we can set that to RTBC even
Comment #9
drunken monkeyI tested it locally, as hinted, so it should be OK.
Also, I think we can trust the test bot again, both issues were fixed.
Comment #10
borisson_Since all 3 of us think it's RTBC, I'll bite the bullet and actually change the issue status.
Comment #11
drunken monkeyVery courageous of you, I applaud your audacity!
Committed.
Thanks again!