mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Apply fixes from StyleCI (#583)
This commit is contained in:
parent
1406b86e01
commit
328dc88c99
1 changed files with 11 additions and 11 deletions
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue