apex-enterprise-patterns / force-di

Generic DI library with support for Apex, Triggers, Visualforce and Lightning
BSD 3-Clause "New" or "Revised" License
229 stars 100 forks source link

Minor improvement for tests #80

Closed osieckiAdam closed 2 years ago

osieckiAdam commented 2 years ago
  1. CustomMetadataModule: in getDIBinding there is no need to query for di_Binding__mdt if mock_BindingConfigurationWrappersOuter is provided, that's why I put it in the else clause.
  2. Increased unit test code coverage for di_Injector class

This change is Reviewable

ImJohnMDaniel commented 2 years ago

@osieckiAdam, Thanks for submitting this PR. I made a couple of tweaks to the di_InjectorTest class here. I would ask that you review those tweaks and, if you find those acceptable, just let me know here and we can merge this through for you.

FYI @stohn777

osieckiAdam commented 2 years ago

Cool, thanks for review, and for Your changes No doubt that this commit is acceptable :)