Skip to content

Commit

Permalink
Merge pull request #2080 from alongosz/ezp-27842-improve-remove-trans…
Browse files Browse the repository at this point in the history
…l-from-content

EZP-27842: Improve process of Translation removal from all Versions
  • Loading branch information
andrerom committed Sep 20, 2017
2 parents ecc1bd9 + 4b14639 commit bf22225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Repository/Tests/ContentServiceTest.php
Expand Up @@ -5294,7 +5294,7 @@ public function testRemoveTranslationMainLanguageThrowsBadStateException()
*
* @covers \eZ\Publish\Core\Repository\ContentService::removeTranslation
* @expectedException \eZ\Publish\API\Repository\Exceptions\BadStateException
* @expectedExceptionMessage Specified translation is the only one Content Object Version has
* @expectedExceptionMessageRegExp /The Version\(s\): \d+ of the ContentId=\d+ have only one language eng-US/
*/
public function testRemoveTranslationLastLanguageThrowsBadStateException()
{
Expand Down

0 comments on commit bf22225

Please sign in to comment.