-
- Downloads
Add some unit tests for the authz data muxer
Two issues this uncovered: * The caching was using the class name, which doesn't work with tests because we have two instances of the same class there, use spl_object_id() instead. * The default value was set before the events instead of at the end.
Showing
- src/Authorization/AuthorizationDataMuxer.php 6 additions, 6 deletionssrc/Authorization/AuthorizationDataMuxer.php
- tests/Authorization/AuthorizationDataMuxerTest.php 103 additions, 0 deletionstests/Authorization/AuthorizationDataMuxerTest.php
- tests/Authorization/DummyAuthorizationDataProvider.php 39 additions, 0 deletionstests/Authorization/DummyAuthorizationDataProvider.php
Please register or sign in to comment