function UserServiceProviderFallbackTest::testUserServiceProvider
Tests that user.tempstore.expire equals tempstore.expire if not customized.
File
-
core/
modules/ user/ tests/ src/ Kernel/ UserServiceProviderFallbackTest.php, line 26
Class
- UserServiceProviderFallbackTest
- Tests <a href="/api/drupal/core%21modules%21user%21src%21UserServiceProvider.php/class/UserServiceProvider/8.9.x" title="UserServiceProvider" class="local">\Drupal\user\UserServiceProvider</a>.
Namespace
Drupal\Tests\user\KernelCode
public function testUserServiceProvider() {
$this->assertEquals(1000, $this->container
->getParameter('user.tempstore.expire'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.