You are here

public function UserServiceProviderTest::testUserServiceProvider in Drupal 8

Tests that tempstore.expire is set to user.tempstore.expire.

@expectedDeprecation The container parameter "user.tempstore.expire" is deprecated. Use "tempstore.expire" instead. See https://www.drupal.org/node/2935639.

File

core/modules/user/tests/src/Kernel/UserServiceProviderTest.php, line 28

Class

UserServiceProviderTest
Tests \Drupal\user\UserServiceProvider.

Namespace

Drupal\Tests\user\Kernel

Code

public function testUserServiceProvider() {
  $this
    ->assertEquals(1000, $this->container
    ->getParameter('tempstore.expire'));
}