Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes

This commit is contained in:
Pantheon Automation 2016-04-20 09:56:34 -07:00 committed by Greg Anderson
parent b11a755ba8
commit c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions

View file

@ -1,18 +1,13 @@
<?php
/**
* @file
* Contains \Drupal\Tests\Component\EventDispatcher\ContainerAwareEventDispatcherTest.
*/
namespace Drupal\Tests\Component\EventDispatcher;
use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\EventDispatcher\Tests\AbstractEventDispatcherTest;
use Symfony\Component\EventDispatcher\Tests\CallableClass;
use Symfony\Component\EventDispatcher\Tests\TestEventListener;
use Symfony\Component\EventDispatcher\Tests\ContainerAwareEventDispatcherTest as SymfonyContainerAwareEventDispatcherTest;
/**
* Unit tests for the ContainerAwareEventDispatcher.
@ -27,7 +22,7 @@ use Symfony\Component\EventDispatcher\Tests\TestEventListener;
*
* @group EventDispatcher
*/
class ContainerAwareEventDispatcherTest extends AbstractEventDispatcherTest
class ContainerAwareEventDispatcherTest extends SymfonyContainerAwareEventDispatcherTest
{
protected function createEventDispatcher()
{
@ -175,4 +170,11 @@ class ContainerAwareEventDispatcherTest extends AbstractEventDispatcherTest
$otherService = $container->get('other_listener_service');
$this->assertTrue($otherService->preFooInvoked);
}
}
public function testGetListenerPriority()
{
// Override the parent test as our implementation doesn't define
// getListenerPriority().
}
}