mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +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;
|
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'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue