Skip to content

[BUG ?] Passing tests in french #3105

@pierreclr

Description

@pierreclr

Hi there, I'm trying to pass the loopback tests in order to make my PR properly.

Some of them are not passing because it expect 'erreur inconnue' to be equal 'unknown error' for example. Indeed, error class expectations are base on regex (and not 'instance of') which is problematic regarding to the automatic translation ..

Maybe the best way would be to set automatically the lang to en in the test environnement

Any help or explanation will be welcomed for how to do so !

However I override the french translation file with the english one and my tests passed excepted this one : (message which doesn't appear to be on intl/fr/message.json (is this handled in an other level ?)

capture d ecran 2017-01-16 a 13 59 39

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions