Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Re-enable zend-modulemanager, -mvc, -navigation, and -session tests on Travis #52

Merged

Conversation

weierophinney
Copy link
Member

Now that each of zend-modulemanager, zend-mvc, zend-navigation, and zend-session have known-stable, forwards-compatible versions available, we can re-enable tests against them on Travis.

Doing so exposed some areas where the tests and/or SUTs were not yet correct. These included:

  • Zend\View\Helper\Navigation\AbstractHelper relied on having a shared event manager composed in its event manager, but when lazy-loaded, this does not happen under zend-eventmanager v3. As such, code was added to ensure a shared manager is always present.
  • The FlashMessengerFactory was still pulling the configuration services using the v2 Config instead of config.
  • The HelperPluginManager was missing an EventManagerAware initializer; one was added.
  • Navigation helper tests were updated to inject a service locator where required.

…n Travis

Now that each of zend-modulemanager, zend-mvc, zend-navigation, and
zend-session have known-stable, forwards-compatible versions available,
we can re-enable tests against them on Travis.

Doing so exposed some areas where the tests and/or SUTs were not yet
correct. These included:

- `Zend\View\Helper\Navigation\AbstractHelper` relied on having a shared
  event manager composed in its event manager, but when lazy-loaded,
  this does not happen under zend-eventmanager v3. As such, code was
  added to ensure a shared manager is always present.
- The `FlashMessengerFactory` was still pulling the configuration
  services using the v2 `Config` instead of `config`.
- The `HelperPluginManager` was missing an `EventManagerAware`
  initializer; one was added.
- Navigation helper tests were updated to inject a service locator where
  required.
@weierophinney weierophinney added this to the 2.6.4 milestone Mar 2, 2016
@weierophinney weierophinney self-assigned this Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
@weierophinney weierophinney merged commit 1c1d2a1 into zendframework:master Mar 2, 2016
weierophinney added a commit that referenced this pull request Mar 2, 2016
@weierophinney weierophinney deleted the hotfix/updated-dependencies branch March 2, 2016 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant