OCA / storage

GNU Affero General Public License v3.0
66 stars 148 forks source link

[16.0][FIX] fs_storage: fix test connection when __fs slot is not initialized #336

Closed JordiMForgeFlow closed 4 months ago

JordiMForgeFlow commented 4 months ago

When the __fs slot has not yet been initialized the test config method fails. As the check connection is called when accessing the property, we can simply access the property to test. Comes after https://github.com/OCA/storage/pull/320

CC @lmignon

lmignon commented 4 months ago

/ocabot merge patch

OCA-git-bot commented 4 months ago

On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-336-by-lmignon-bump-patch, awaiting test results.

OCA-git-bot commented 4 months ago

Congratulations, your PR was merged at a433d9c159d4b84317d4dd07a86dcbf2eed938ed. Thanks a lot for contributing to OCA. ❤️