Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php Mon Apr 23 09:46:53 2018 +0100 @@ -37,8 +37,7 @@ protected function setUp() { parent::setUp(); - $this->requestStack = $this->getMock('Symfony\Component\HttpFoundation\RequestStack'); - + $this->requestStack = $this->getMockBuilder('Symfony\Component\HttpFoundation\RequestStack')->getMock(); $this->time = new Time($this->requestStack); }