diff options
Diffstat (limited to 'tests/lib/Cache/TestCache.php')
-rw-r--r-- | tests/lib/Cache/TestCache.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/lib/Cache/TestCache.php b/tests/lib/Cache/TestCache.php index 9dfc46eb5a0..1dd9761682d 100644 --- a/tests/lib/Cache/TestCache.php +++ b/tests/lib/Cache/TestCache.php @@ -26,19 +26,19 @@ abstract class TestCache extends \Test\TestCase { $this->assertNull($this->instance->get('value1')); $this->assertFalse($this->instance->hasKey('value1')); - $value='foobar'; + $value = 'foobar'; $this->instance->set('value1', $value); $this->assertTrue($this->instance->hasKey('value1')); - $received=$this->instance->get('value1'); + $received = $this->instance->get('value1'); $this->assertEquals($value, $received, 'Value received from cache not equal to the original'); - $value='ipsum lorum'; + $value = 'ipsum lorum'; $this->instance->set('value1', $value); - $received=$this->instance->get('value1'); + $received = $this->instance->get('value1'); $this->assertEquals($value, $received, 'Value not overwritten by second set'); - $value2='foobar'; + $value2 = 'foobar'; $this->instance->set('value2', $value2); - $received2=$this->instance->get('value2'); + $received2 = $this->instance->get('value2'); $this->assertTrue($this->instance->hasKey('value1')); $this->assertTrue($this->instance->hasKey('value2')); $this->assertEquals($value, $received, 'Value changed while setting other variable'); @@ -52,7 +52,7 @@ abstract class TestCache extends \Test\TestCase { } public function testClear() { - $value='ipsum lorum'; + $value = 'ipsum lorum'; $this->instance->set('1_value1', $value . '1'); $this->instance->set('1_value2', $value . '2'); $this->instance->set('2_value1', $value . '3'); |