Skip to content

Assert changed translations too, not just added/deleted#32

Draft
mikadamczyk wants to merge 1 commit into
5.0from
feature/5.0-assert-changed-translations
Draft

Assert changed translations too, not just added/deleted#32
mikadamczyk wants to merge 1 commit into
5.0from
feature/5.0-assert-changed-translations

Conversation

@mikadamczyk

Copy link
Copy Markdown
Contributor

AbstractTranslationCase only failed on added/deleted messages, so a stale desc/meaning never failed the test. Now it also fails on changed messages, using the new ChangeSet::getChangedMessages() API. Assertion logic pulled into a static method so it's unit-testable without a kernel.

Depends on ibexa/jms-translation-bundle#5 (not merged/released yet), so CI here will be red until that lands. Draft for that reason.

Depends on jms-translation-bundle's new ChangeSet::getChangedMessages().
Assertion logic extracted into a static method so it's unit-testable
without booting a kernel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant