Issue #2154961 by Berdir: Password hashing slows down DUBT tests.
parent
8d1f9b8df7
commit
174a7d1a8f
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue