address Scrutinizer issues

pull/813/head
El RIDO 2021-06-13 11:12:19 +02:00
parent bbcf57de0e
commit fa4fe2852d
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ class GoogleCloudStorageTest extends PHPUnit_Framework_TestCase
$this->assertEquals($storedExpired, $this->_model->getValue('traffic_limiter', $client));
$this->_model->purgeValues('traffic_limiter', time() + 60);
$this->assertFalse($this->_model->getValue('traffic_limiter', $client));
$this->assertEquals('', $this->_model->getValue('traffic_limiter', $client));
}
public function testKeyValuePurgeTrafficLimiterWithKey()
@ -192,6 +192,6 @@ class GoogleCloudStorageTest extends PHPUnit_Framework_TestCase
$this->assertEquals($storedExpired, $this->_model->getValue('traffic_limiter', $client));
$this->_model->purgeValues('traffic_limiter', time() + 60);
$this->assertFalse($this->_model->getValue('traffic_limiter', $client));
$this->assertEquals('', $this->_model->getValue('traffic_limiter', $client));
}
}