Skip to content
Snippets Groups Projects
Unverified Commit 1e51ac35 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3042875 by claudiu.cristea, Lendude: Convert TaxonomyIndexTidFilterTest into a Kernel test

(cherry picked from commit 2f162aca)
parent 4c8bdc11
No related branches found
No related tags found
Loading
<?php
namespace Drupal\Tests\taxonomy\Functional\Views;
namespace Drupal\Tests\taxonomy\Kernel\Views;
use Drupal\taxonomy\Entity\Term;
use Drupal\taxonomy\Entity\Vocabulary;
......@@ -16,11 +16,6 @@
*/
class TaxonomyIndexTidFilterTest extends TaxonomyTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['taxonomy', 'taxonomy_test_views', 'views', 'node'];
/**
* {@inheritdoc}
*/
......@@ -75,7 +70,7 @@ public function testConfigDependency() {
];
sort($content_dependencies);
$this->assertEqual([
$this->assertEquals([
'config' => [
'taxonomy.vocabulary.tags',
],
......@@ -89,7 +84,7 @@ public function testConfigDependency() {
$this->terms[3]->delete();
$this->assertEqual([
$this->assertEquals([
'config' => [
'taxonomy.vocabulary.tags',
],
......@@ -120,7 +115,7 @@ public function testPostUpdateFunction() {
];
sort($content_dependencies);
$this->assertEqual([
$this->assertEquals([
'config' => [
'taxonomy.vocabulary.tags',
],
......@@ -138,7 +133,7 @@ public function testPostUpdateFunction() {
views_post_update_taxonomy_index_tid();
$view = View::load('test_filter_taxonomy_index_tid__non_existing_dependency');
$this->assertEqual([
$this->assertEquals([
'config' => [
'taxonomy.vocabulary.tags',
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment