function UserServiceProviderTest::testUserServiceProvider
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
Namespace
Drupal\Tests\user\KernelCode
public function testUserServiceProvider() {
$this->assertEquals(1000, $this->container
->getParameter('tempstore.expire'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.