Loading tests/src/Functional/Plugin/ViewsAggregatorStyleTableTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase { $this->drupalGet('va-test-style-table'); $result = $this->xpath('//summary/child::text()'); $this->assertEquals(0, count($result), 'Ensure that the summary disappears.'); $this->assertCount(0, $result, 'Ensure that the summary disappears.'); } /** Loading Loading @@ -163,10 +163,10 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase { // Test that only one of the job columns still shows. $result = $this->xpath('//thead/tr/th/a[text()="Job"]'); $this->assertEquals(1, count($result), 'Ensure that empty column header is hidden.'); $this->assertCount(1, $result, 'Ensure that empty column header is hidden.'); $result = $this->xpath('//tbody/tr/td[contains(concat(" ", @class, " "), " views-field-job-1 ")]'); $this->assertEquals(0, count($result), 'Ensure the empty table cells are hidden.'); $this->assertCount(0, $result, 'Ensure the empty table cells are hidden.'); } /** Loading Loading
tests/src/Functional/Plugin/ViewsAggregatorStyleTableTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -87,7 +87,7 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase { $this->drupalGet('va-test-style-table'); $result = $this->xpath('//summary/child::text()'); $this->assertEquals(0, count($result), 'Ensure that the summary disappears.'); $this->assertCount(0, $result, 'Ensure that the summary disappears.'); } /** Loading Loading @@ -163,10 +163,10 @@ class ViewsAggregatorStyleTableTest extends ViewTestBase { // Test that only one of the job columns still shows. $result = $this->xpath('//thead/tr/th/a[text()="Job"]'); $this->assertEquals(1, count($result), 'Ensure that empty column header is hidden.'); $this->assertCount(1, $result, 'Ensure that empty column header is hidden.'); $result = $this->xpath('//tbody/tr/td[contains(concat(" ", @class, " "), " views-field-job-1 ")]'); $this->assertEquals(0, count($result), 'Ensure the empty table cells are hidden.'); $this->assertCount(0, $result, 'Ensure the empty table cells are hidden.'); } /** Loading