Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu_link_content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Aug 2014 at 23:29 UTC
Updated:
20 Jul 2015 at 15:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerThis isn't really WSCCI on an abstract level.
Comment #2
andypostNo idea where to put a test, probably it makes sense to add a unittest
Comment #3
andypostelse is not needed
Comment #4
dawehnerSeems okay for now
Comment #7
andypostdo we really need tests for that?
Comment #8
dawehnerI kinda thing we should have an integration tests. Note: this will give you probably some exception at the end of the day.
Comment #9
andypostyep, trying to write a test discovered that the module also use "administer menu" permission that defined in menu_ui module
So it's not clear how to resolve this dependency
Comment #10
dawehnerWell, the test could just do: menu_ui disabled, menu_link_content enabled, and go to '/admin/structure/menu/item/{menu_link_content}/delete' and try to delete it.
Comment #11
andypostintegration fail test + moved permission to system module as suggested at IRC
PS: let's see what broken
Comment #13
dawehnerGreat, thank you!
Comment #14
andypostUpdated IS and added beta evaluation
Comment #15
alexpott@andypost nice find, nice fix and nice test.
Committed 897056b and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.