diff --git a/core/modules/config/src/Tests/ConfigEntityListTest.php b/core/modules/config/src/Tests/ConfigEntityListTest.php index d0dd3b8..9cf9bc8 100644 --- a/core/modules/config/src/Tests/ConfigEntityListTest.php +++ b/core/modules/config/src/Tests/ConfigEntityListTest.php @@ -67,9 +67,9 @@ function testList() { 'weight' => 100, 'attributes' => array( 'class' => array('use-ajax'), - 'data-accepts' => 'application/vnd.drupal-modal', + 'data-dialog-type' => 'modal', 'data-dialog-options' => Json::encode(array( - 'width' => 'auto', + 'width' => 'auto', )), ), 'url' => $entity->urlInfo('delete-form'), @@ -144,7 +144,7 @@ function testList() { 'weight' => 100, 'attributes' => array( 'class' => array('use-ajax'), - 'data-accepts' => 'application/vnd.drupal-modal', + 'data-dialog-type' => 'modal', 'data-dialog-options' => Json::encode(array( 'width' => 'auto', )), diff --git a/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php b/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php index ac85c77..3a59e68 100644 --- a/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php +++ b/core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php @@ -2,6 +2,8 @@ namespace Drupal\Tests\views\Kernel\Plugin; +use Drupal\Component\Serialization\Json; +use Drupal\Component\Utility\Html; use Drupal\Core\Session\AccountInterface; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; @@ -181,7 +183,7 @@ protected function doTestRenderedOutput(AccountInterface $account, $check_cache $this->assertEqual($output, $expected); $expected = $access ? '
' : ''; $output = $view->style_plugin->getField($index, 'operations'); $this->assertEqual($output, $expected);