--- 2409417-47.patch 2015-02-15 12:23:52.000000000 +1100 +++ 2409417-50.patch 2015-02-15 14:22:43.000000000 +1100 --- a/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php +++ b/core/modules/views/src/Tests/Plugin/DisplayFeedTest.php @@ -108,7 +108,8 @@ + // Ensure that the feed_1 display is attached to the page_1 display. + $view = $this->container->get('entity.manager')->getStorage('view')->load('test_attached_disabled'); + $view->getExecutable()->setDisplay('page_1'); -+ $this->assertEqual($view->getExecutable()->display_handler->getAttachedDisplays(), array('feed_1'), 'The feed display is attached to the page display.'); ++ $attached_displays = $view->getExecutable()->display_handler->getAttachedDisplays(); ++ $this->assertTrue(in_array('feed_1', $attached_displays), 'The feed display is attached to the page display.'); + + // Check that the rss header is output on the page display. + $this->drupalGet('/test-attached-disabled');