Completed
Push — 6.0 ( 28a1ff...8ccf95 )
by liu
05:58
created
tests/CacheTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.