Closed Crizz0 closed 7 years ago
Can someone take a look at the tests and help me with the failed ones?
Well the problem is not related to your change directly. It's just you test 3.2 now and there is subsilver2 special handling for that.
The problem is that the tests contain styles/subsilver2
https://github.com/phpbb/phpbb-translation-validator/tree/master/src/Phpbb/TranslationValidator/Tests/FileListValidator/fixtures/source
My suggestion would be to duplicate the fixtures into version based subfolders (fixtures/3.0
, fixtures/3.1
, fixtures/3.2
), kill the subsilver2 files in 3.2,
move
$this->validator->setOrigin('origin', dirname(__FILE__) . '/fixtures/origin', 'language/origin/')
->setSource('source', dirname(__FILE__) . '/fixtures/source', 'language/source/');
from setUp
to testValidateFileList
and use the version in the path as well.
33