Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713

This commit is contained in:
Pantheon Automation 2016-05-04 14:35:41 -07:00 committed by Greg Anderson
parent c0a0d5a94c
commit 9eae24d844
669 changed files with 3873 additions and 1553 deletions

View file

@ -441,7 +441,7 @@ class ContainerTest extends \PHPUnit_Framework_TestCase {
*/
public function testGetForInstantiationWithVariousArgumentLengths() {
$args = array();
for ($i=0; $i < 12; $i++) {
for ($i = 0; $i < 12; $i++) {
$instantiation_service = $this->container->get('service_test_instantiation_'. $i);
$this->assertEquals($args, $instantiation_service->getArguments());
$args[] = 'arg_' . $i;
@ -480,7 +480,7 @@ class ContainerTest extends \PHPUnit_Framework_TestCase {
*/
public function testGetForFactoryClass() {
$service = $this->container->get('service.provider');
$factory_service= $this->container->get('factory_class');
$factory_service = $this->container->get('factory_class');
$this->assertInstanceOf(get_class($service), $factory_service);
$this->assertEquals('bar', $factory_service->getSomeParameter(), 'Correct parameter was passed via the factory class instantiation.');
@ -892,7 +892,7 @@ class ContainerTest extends \PHPUnit_Framework_TestCase {
// Test multiple arguments.
$args = array();
for ($i=0; $i < 12; $i++) {
for ($i = 0; $i < 12; $i++) {
$services['service_test_instantiation_' . $i] = array(
'class' => '\Drupal\Tests\Component\DependencyInjection\MockInstantiationService',
// Also test a collection that does not need resolving.