diff --git a/tests/potx.test b/tests/potx.test index d38acd0..2b06d23 100644 --- a/tests/potx.test +++ b/tests/potx.test @@ -170,6 +170,9 @@ class PotxTestCase extends DrupalWebTestCase { // Context support added. $this->assertMsgIDContext('Test string in context', 'Test context'); + // Drush support. + $this->assertMsgID('This could have been in a drush file'); + // Look at installer strings. $this->parseFile($filename, POTX_API_7, POTX_STRING_INSTALLER); $this->assertMsgID('Installer only test string'); @@ -182,9 +185,6 @@ class PotxTestCase extends DrupalWebTestCase { $this->assert(count($this->potx_status) == 2, t('2 error messages found')); $this->assert($this->potx_status[0][0] == $this->empty_error, t('First empty error found.')); $this->assert($this->potx_status[1][0] == $this->empty_error, t('Second empty error found.')); - - // Drush support. - $this->assertMsgID('This could have been in a drush file'); } public function testDrupal8LanguageManager() {