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