portainer/api/cmd/portainer
zees-dev 7d92aa1971
Unit tests for `enableFeaturesFromFlags` function (#6063)
* - exporting BoolPairs CLI func
- added tests for enableFeaturesFromFlags function

* Add a test that uses a feature flag to add change the outcome of code - and test persistence, as that's the current implementation

Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>

* Minor comment updates

Co-authored-by: Sven Dowideit <sven.dowideit@portainer.io>
Co-authored-by: Stéphane Busso <stephane.busso@gmail.com>
2021-11-15 09:00:25 +10:00
..
log.go feat(logger): Init logrus [DTD-55] (#5232) 2021-08-04 11:26:22 +12:00
main.go Unit tests for `enableFeaturesFromFlags` function (#6063) 2021-11-15 09:00:25 +10:00
main_test.go Unit tests for `enableFeaturesFromFlags` function (#6063) 2021-11-15 09:00:25 +10:00