Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
Issue tags: +VDC
FileSize
4.66 KB
4.1 KB

Adapted the existing tests, but yeah if you want to be strict there is a lot to be testet.

damiankloip’s picture

Status: Needs review » Needs work
+++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.phpundefined
@@ -48,11 +48,11 @@ protected function setUp() {
+  public function _testFeedUI() {

I think we need to lose the _ again.

+++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.phpundefined
@@ -68,14 +68,39 @@ public function testFeedUI() {
+   * Tests the actual output.

'Tests the rendered feed output' or something instead?

+++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.phpundefined
@@ -68,14 +68,39 @@ public function testFeedUI() {
+    $views = $this->container->get('plugin.manager.entity')->getStorageController('view')->load(array('test_feed_display'));

This stuff is getting insanely long and ugly, but hey, that's not your fault!

Otherwise, all the tests look fine.

dawehner’s picture

Status: Needs work » Needs review
FileSize
4.55 KB
792 bytes

Thank you for the review, hard to get one these days.

olli’s picture

Status: Needs review » Reviewed & tested by the community

#3 solves the problem, adds coverage and fixes #2.

Maybe DefaultViewsTests could test rendering the views too.

catch’s picture

Issue tags: -VDC

#3: drupal-1903410-3.patch queued for re-testing.

Status: Reviewed & tested by the community » Needs work
Issue tags: +VDC

The last submitted patch, drupal-1903410-3.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
FileSize
4.55 KB

Rerole.

Status: Needs review » Needs work
Issue tags: -VDC

The last submitted patch, drupal-1903410-7.patch, failed testing.

dawehner’s picture

Status: Needs work » Needs review
Issue tags: +VDC

#7: drupal-1903410-7.patch queued for re-testing.

olli’s picture

Status: Needs review » Reviewed & tested by the community
Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x. Thanks.

Automatically closed -- issue fixed for 2 weeks with no activity.