<?php
+namespace Tests;
+
+use Exception;
use Illuminate\Cache\ArrayStore;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
-use Tests\TestCase;
+use Mockery;
class StatusTest extends TestCase
{
{
$mockStore = Mockery::mock(new ArrayStore())->makePartial();
Cache::swap($mockStore);
- $mockStore->shouldReceive('get')->andReturn('cat');
+ $mockStore->shouldReceive('pull')->andReturn('cat');
$resp = $this->get('/status');
$resp->assertStatus(500);