diff --git a/tests/potx.test b/tests/potx.test index d51be2f..5712dfa 100644 --- a/tests/potx.test +++ b/tests/potx.test @@ -145,6 +145,7 @@ class PotxTestCase extends DrupalWebTestCase { $this->assertMsgID('This is a test string.'); $this->assertMsgID('test watchdog type'); $this->assertMsgID('My watchdog message'); + $this->assertMsgID('PHP Syntax error gracefully handled'); // No support for hook_perm() anymore. t() in hook_permissions(). $this->assertNoMsgID('test potx permission'); @@ -186,7 +187,6 @@ class PotxTestCase extends DrupalWebTestCase { $this->assert($this->potx_status[0][0] == $this->empty_error, t('First empty error found.')); $this->assert($this->potx_status[1][0] == 'Unexpected ;', t('Unexpected semicolon found.')); $this->assert($this->potx_status[2][0] == $this->empty_error, t('Second empty error found.')); - $this->assertMsgID('PHP Syntax error gracefully handled'); } public function testDrupal8LanguageManager() {