Files
luos/tests/Feature/CacheTest.php
davidcallizaya 427d74f68e HOR-3626
Fixed CS
2017-08-10 21:35:16 -04:00

20 lines
339 B
PHP

<?php
namespace Tests\Feature;
use Illuminate\Support\Facades\Cache;
use Tests\TestCase;
class CacheTest extends TestCase
{
/**
* A basic cache example.
*
* @return void
*/
public function testCache()
{
Cache::put('foo', 'bar', 5);
$this->assertEquals('bar', (Cache::get('foo')));
}
}