3 namespace Drupal\Tests\user\Kernel;
5 use Drupal\Core\DependencyInjection\ContainerBuilder;
6 use Drupal\KernelTests\KernelTestBase;
9 * Tests \Drupal\user\UserServiceProvider.
14 class UserServiceProviderFallbackTest extends KernelTestBase {
21 public static $modules = ['user'];
24 * Tests that user.tempstore.expire equals tempstore.expire if not customized.
26 public function testUserServiceProvider() {
27 $this->assertEquals(1000, $this->container->getParameter('user.tempstore.expire'));
33 public function register(ContainerBuilder $container) {
34 $container->setParameter('tempstore.expire', 1000);
35 parent::register($container);