mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-13 18:01:32 +08:00
Add void return to method in tests. (#20602)
This commit is contained in:
@@ -40,7 +40,7 @@ class MemCacheTest extends CacheTestCase
|
||||
return $this->_cacheInstance;
|
||||
}
|
||||
|
||||
public function testExpire()
|
||||
public function testExpire(): void
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') == 'true') {
|
||||
$this->markTestSkipped('Can not reliably test memcache expiry on GitHub actions.');
|
||||
@@ -48,7 +48,7 @@ class MemCacheTest extends CacheTestCase
|
||||
parent::testExpire();
|
||||
}
|
||||
|
||||
public function testExpireAdd()
|
||||
public function testExpireAdd(): void
|
||||
{
|
||||
if (getenv('GITHUB_ACTIONS') == 'true') {
|
||||
$this->markTestSkipped('Can not reliably test memcache expiry on GitHub actions.');
|
||||
|
||||
Reference in New Issue
Block a user