diff --git a/core/modules/block/lib/Drupal/block/Tests/BlockLanguageCacheTest.php b/core/modules/block/lib/Drupal/block/Tests/BlockLanguageCacheTest.php index 2acacf0..5fec407 100644 --- a/core/modules/block/lib/Drupal/block/Tests/BlockLanguageCacheTest.php +++ b/core/modules/block/lib/Drupal/block/Tests/BlockLanguageCacheTest.php @@ -73,7 +73,7 @@ public function testBlockLinks() { // Create a menu in the default language. $edit['label'] = $this->randomName(); $edit['id'] = Unicode::strtolower($edit['label']); - $this->drupalPost('admin/structure/menu/add', $edit, t('Save')); + $this->drupalPostForm('admin/structure/menu/add', $edit, t('Save')); $this->assertText(t('Menu @label has been added.', array('@label' => $edit['label']))); // Check that the block is listed for all languages.