Adapt tests for templatelookup
#2204
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
templatelookup
#2204
Description
Once we have good coverage for moduletemplateinfolookup (see #2202), we need to adapt the testing of templatelookup (regular_test.go). Right now, we implicitly test the functionality of the template lookup dependency moduletemplateinfolookup. We need to refactor the test to remove the implicit testing of this dependency and focus on the templatelookup as actual unit under test.
This comment is super valid, but it is hard to achieve now because the tests expect things that are internal to the dependency. #2200 (comment)
Also this comment needs to be considered: #2200 (comment)
Reasons
Follow-up from #2200
We moved lot's of functionality from templatelookup to moduletemplateinfolookup. We also need to adapt the unit testing accordingly to focus for the unit under test, not implicitly test dependencies.
Acceptance Criteria
Feature Testing
No response
Testing approach
No response
Attachments
No response
The text was updated successfully, but these errors were encountered: