You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
501 B
28 lines
501 B
<?php
|
|
|
|
namespace Tests\Unit;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
use Tests\TestCase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
|
|
class KTaskTest extends TestCase
|
|
{
|
|
/**
|
|
* A basic test example.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testExample()
|
|
{
|
|
Cache::shouldReceive('get')
|
|
->with('key')
|
|
->andReturn('value');
|
|
|
|
// $this->visit('/cache')
|
|
// ->see('value');
|
|
}
|
|
|
|
}
|