Give the gift of Drupal. All merchandise is 50% off through 2016.
(Rewritten after request on comment #10.)
We need to test top-level tab creation separately from tray creation, when using hook_toolbar() to do so.
Because any given module's
hook_toolbar() always returns the same array of data, we need multiple implementations to test multiple scenarios.
- Rename module
- (Maybe run this through
coder-reviewwhen doing so, as e.g. indentation seems a little off?)
- Clone it to create two new modules
toolbar_test_tray, and edit down their
- Similarly with
ToolbarHookToolbarTest, rename and clone, to test now three
|Task||Novice task?||Contributor instructions||Complete?|
|Update the issue summary||Instructions||Yes|
|Create a patch||Instructions|
|Add automated tests||Instructions|
User interface changes
None: tabs and trays are only added during running of tests.
None: new tests are only autodiscovered during running of tests.