From documentation:
Functional tests can be performed by running phpunit in the /tests/functional directory. Ensure the following configuration is met:
Active theme is: demo
Language preference is: en
Discussed here, but not solved: https://stackoverflow.com/questions/55841944/how-to-set-up-active-theme-for-plugin-test-in-october-cms
How to set up this configuration in functional tests?