|
@@ -126,10 +126,10 @@ |
|
|
block discarded – undo |
|
126
|
126
|
$redis->shouldReceive("del")->once()->with('baz')->andReturnTrue(); |
|
127
|
127
|
$redis->shouldReceive("flushDB")->once()->andReturnTrue(); |
|
128
|
128
|
$redis->shouldReceive("set")->once()->with('bar', serialize('foobar'))->andReturnTrue(); |
|
129
|
|
- $redis->shouldReceive("sAdd")->once()->with('tag:' . md5('foo'), 'bar')->andReturnTrue(); |
|
130
|
|
- $redis->shouldReceive("sMembers")->once()->with('tag:' . md5('foo'))->andReturn(['bar']); |
|
|
129
|
+ $redis->shouldReceive("sAdd")->once()->with('tag:'.md5('foo'), 'bar')->andReturnTrue(); |
|
|
130
|
+ $redis->shouldReceive("sMembers")->once()->with('tag:'.md5('foo'))->andReturn(['bar']); |
|
131
|
131
|
$redis->shouldReceive("del")->once()->with(['bar'])->andReturnTrue(); |
|
132
|
|
- $redis->shouldReceive("del")->once()->with('tag:' . md5('foo'))->andReturnTrue(); |
|
|
132
|
+ $redis->shouldReceive("del")->once()->with('tag:'.md5('foo'))->andReturnTrue(); |
|
133
|
133
|
|
|
134
|
134
|
$this->cache->set('foo', 5); |
|
135
|
135
|
$this->cache->inc('foo'); |
Please login to merge, or discard this patch.