You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you build the ported OH3 add-ons, the build fails to compile the NAPresenceCameraHandlerTest class because the I18nProviderImpl constructor changed with openhab/openhab-core#1487.
There should not be any usages of internal OHC/ESH classes in tests at all and it would be better if the build failed whenever they are used in imports.
Instead the NAPresenceCameraHandlerTest should use the TimeZoneProvider interface and use it with a mock for instance.
Can you have a look at this @Novanic? This import was added in #7927.
The text was updated successfully, but these errors were encountered:
You can port the add-ons using this script. But I don't think there's any need. Just remove the I18nProviderImpl from the imports and use something that implements the TimeZoneProvider instead. If that builds with OH2 it should also work with OH3. :-)
When you build the ported OH3 add-ons, the build fails to compile the
NAPresenceCameraHandlerTest
class because theI18nProviderImpl
constructor changed with openhab/openhab-core#1487.There should not be any usages of internal OHC/ESH classes in tests at all and it would be better if the build failed whenever they are used in imports.
Instead the
NAPresenceCameraHandlerTest
should use theTimeZoneProvider
interface and use it with a mock for instance.Can you have a look at this @Novanic? This import was added in #7927.
The text was updated successfully, but these errors were encountered: