Issue #2154961 by Berdir: Password hashing slows down DUBT tests.

8.0.x
Nathaniel Catchpole 2014-01-01 20:57:28 +00:00
parent 8d1f9b8df7
commit 174a7d1a8f
1 changed files with 5 additions and 0 deletions

View File

@ -187,6 +187,11 @@ abstract class DrupalUnitTestBase extends UnitTestBase {
$definition = $container->getDefinition('path_processor_alias'); $definition = $container->getDefinition('path_processor_alias');
$definition->clearTag('path_processor_inbound')->clearTag('path_processor_outbound'); $definition->clearTag('path_processor_inbound')->clearTag('path_processor_outbound');
} }
if ($container->hasDefinition('password')) {
$container->getDefinition('password')->setArguments(array(1));
}
$request = Request::create('/'); $request = Request::create('/');
$this->container->set('request', $request); $this->container->set('request', $request);
} }