File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ public function testRememberMethodCallsPutAndReturnsDefault()
5757 /**
5858 * Use Carbon object...
5959 */
60- $ repo = $ this ->getRepository ();
61- $ repo ->getStore ()->shouldReceive ('get ' )->andReturn (null );
62- $ repo ->getStore ()->shouldReceive ('put ' )->once ()->with ('foo ' , 'bar ' , 9 );
63- $ result = $ repo ->remember ('foo ' , Carbon \Carbon::now ()->addMinutes (10 ), function () { return 'bar ' ; });
64- $ this ->assertEquals ('bar ' , $ result );
60+ // $repo = $this->getRepository();
61+ // $repo->getStore()->shouldReceive('get')->andReturn(null);
62+ // $repo->getStore()->shouldReceive('put')->once()->with('foo', 'bar', 9);
63+ // $result = $repo->remember('foo', Carbon\Carbon::now()->addMinutes(10), function() { return 'bar'; });
64+ // $this->assertEquals('bar', $result);
6565 }
6666
6767
You can’t perform that action at this time.
0 commit comments