zendframework / zend-di

Di component from Zend Framework
BSD 3-Clause "New" or "Revised" License
46 stars 29 forks source link

Add tests to ensure preference fallback behavior #54

Closed tux-rampage closed 5 years ago

tux-rampage commented 5 years ago

These tests ensure compliance to the documentation. PR #49 revealed the lack of this test.

See https://docs.zendframework.com/zend-di/config/#type-preferences

Provide a narrative description of what you are trying to accomplish:

tux-rampage commented 5 years ago

These tests are necessary to ensure #49 does not break BC and expected behavior.