diff --git a/src/Tests/DiffRevisionTest.php b/src/Tests/DiffRevisionTest.php index f8b9fc0..4158e75 100644 --- a/src/Tests/DiffRevisionTest.php +++ b/src/Tests/DiffRevisionTest.php @@ -12,6 +12,7 @@ namespace Drupal\diff\Tests; use Drupal\simpletest\WebTestBase; +use Drupal\system\Tests\Menu\AssertBreadcrumbTrait; /** * Tests the diff revisions overview. @@ -27,10 +28,12 @@ class DiffRevisionTest extends WebTestBase { */ public static $modules = array('node', 'diff', 'diff_test', 'block'); + use AssertBreadcrumbTrait; /** * Tests the revision diff overview. */ public function testRevisionDiffOverview() { + $this->drupalPlaceBlock('system_breadcrumb_block'); $this->drupalPlaceBlock('local_tasks_block'); $this->drupalPlaceBlock('local_actions_block'); $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article')); @@ -78,6 +81,15 @@ class DiffRevisionTest extends WebTestBase { // Compare the revisions in standard mode. $this->drupalPostForm(NULL, NULL, t('Compare')); + // Breadcrumbs test + $this->assertRaw('