Apply fixes from StyleCI (#583)

This commit is contained in:
Phan An 2017-04-28 22:59:13 +08:00 committed by GitHub
parent 1406b86e01
commit 328dc88c99

View file

@ -2,20 +2,20 @@
namespace Tests\Feature;
use MediaCache;
use Cache;
use MediaCache;
use Tests\BrowserKitTestCase;
class MediaCacheTest extends BrowserKitTestCase
{
public function testGetCache()
{
// first clear all cache
Cache::flush();
// now make sure the get() function returns data
$data = MediaCache::get();
$this->assertNotNull($data);
// and the data are seen in the cache as well
$this->assertEquals($data, Cache::get('media_cache'));
}
public function testGetCache()
{
// first clear all cache
Cache::flush();
// now make sure the get() function returns data
$data = MediaCache::get();
$this->assertNotNull($data);
// and the data are seen in the cache as well
$this->assertEquals($data, Cache::get('media_cache'));
}
}