diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php index 4d47b82..f862ae8 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php @@ -354,7 +354,7 @@ public function testTimeOptionExceeded() { $this->executable->setTimeElapsed(1); $this->assertTrue($this->executable->timeOptionExceeded()); // Assert time limit not exceeded. - $this->executable->limit = array('unit' => 'seconds', 'value' => ((int) $_SERVER['REQUEST_TIME'] - 3600)); + $this->executable->limit = array('unit' => 'seconds', 'value' => (int) $_SERVER['REQUEST_TIME'] - 3600); $this->assertFalse($this->executable->timeOptionExceeded()); // Assert no time limit. $this->executable->limit = array(); diff --git a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php index 7e333ec..11e1600 100644 --- a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php @@ -44,7 +44,7 @@ class ChainedFastBackendTest extends UnitTestCase { public function testGetDoesntHitConsistentBackend() { $consistent_cache = $this->getMock('Drupal\Core\Cache\CacheBackendInterface'); $timestamp_cid = ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX . 'cache_foo'; - // Use REQUEST_TIME because that is what we will be comparing against. + // Use the request time because that is what we will be comparing against. $timestamp_item = (object) array('cid' => $timestamp_cid, 'data' => (int) $_SERVER['REQUEST_TIME'] - 60); $consistent_cache->expects($this->once()) ->method('get')->with($timestamp_cid)