diff -u b/sources/tmgmt_config/src/Tests/ConfigSourceUiTest.php b/sources/tmgmt_config/src/Tests/ConfigSourceUiTest.php --- b/sources/tmgmt_config/src/Tests/ConfigSourceUiTest.php +++ b/sources/tmgmt_config/src/Tests/ConfigSourceUiTest.php @@ -118,25 +118,20 @@ } $this->assertEqual($counter, 2); + // Test that a job can not be accepted if the translator does not exist. // Request an italian translation. $edit = array( 'languages[it]' => TRUE, ); $this->drupalPostForm(NULL, $edit, t('Request translation')); - // Verify that we are on the checkout page. - $this->assertText(t('One job needs to be checked out.')); - $this->assertText('Article content type (English to Italian, Unprocessed)'); - // Go back to the originally defined destination URL without submitting. $this->drupalGet('admin/structure/types/manage/article/translate'); // Verify that the pending translation is shown. $this->clickLink(t('In progress')); - // Verify that the title of the preview page exists. - $this->assertText(t('Job item Article content type')); - + // Try to save, should fail because the job has no translator assigned. $edit = array( 'name[translation]' => $this->randomMachineName(), );