diff -u b/src/Tests/TranslatorTest.php b/src/Tests/TranslatorTest.php --- b/src/Tests/TranslatorTest.php +++ b/src/Tests/TranslatorTest.php @@ -63,7 +63,7 @@ $job->setState(Job::STATE_FINISHED); $this->drupalPostForm(NULL, array(), 'Delete'); $this->assertText(t('Add translator')); - $this->assertNoText($translator->label() . 'has been deleted.'); + $this->assertText($translator->label() . ' has been deleted.'); // Testing the translators form with no installed translator plugins. // Uninstall the test module (which provides a translator).