code-standards wrap operators with spaces
This commit is contained in:
parent
1e96faca4c
commit
ff24d0d567
|
@ -40,6 +40,7 @@ abstract class CacheTest extends DatabaseTest
|
|||
$this->instance->set('value1', $value);
|
||||
$received = $this->instance->get('value1');
|
||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||
|
||||
$value = 'ipsum lorum';
|
||||
$this->instance->set('value1', $value);
|
||||
$received = $this->instance->get('value1');
|
||||
|
|
|
@ -26,6 +26,7 @@ abstract class MemoryCacheTest extends CacheTest
|
|||
$this->instance->add('value1', $value);
|
||||
$received = $this->instance->get('value1');
|
||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||
|
||||
$newValue = 'ipsum lorum';
|
||||
$this->instance->compareSet('value1', $value, $newValue);
|
||||
$received = $this->instance->get('value1');
|
||||
|
@ -39,6 +40,7 @@ abstract class MemoryCacheTest extends CacheTest
|
|||
$this->instance->add('value1', $value);
|
||||
$received = $this->instance->get('value1');
|
||||
$this->assertEquals($value, $received, 'Value received from cache not equal to the original');
|
||||
|
||||
$newValue = 'ipsum lorum';
|
||||
$this->instance->compareSet('value1', 'wrong', $newValue);
|
||||
$received = $this->instance->get('value1');
|
||||
|
|
Loading…
Reference in New Issue
Block a user