diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockTest.php index 35ae15f..80ce3d4 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockTest.php @@ -136,7 +136,7 @@ function testBlock() { $this->assertNoFieldByXPath($xpath, FALSE, 'Block found in no regions.'); // Test deleting the block from the edit form. - $this->drupalGet('admin/structure/block/manage/' . $block['theme'] . '.' . $block['machine_name']); + $this->drupalGet('admin/structure/block/manage/' . $block['id']); $this->drupalPost(NULL, array(), t('Delete')); $this->assertRaw(t('Are you sure you want to delete the block %name?', array('%name' => $block['settings[label]']))); $this->drupalPost(NULL, array(), t('Delete'));