yes the same error Response status code [302] is not a succesful status code.
failed asserting that false is true
i think it has something to do with my $response = $this->get(route('settings.index'));
<?php
namespace Setting\Http\Controllers;
use Core\Http\Controllers\AdminController;
use Illuminate\Http\Request;
use Setting\Services\SettingServiceInterface;
class SettingsController extends AdminController
{
/**
* Create a new controller instance.
*
* @param \Setting\Services\SettingServiceInterface $service
*/
public function __construct(SettingServiceInterface $service)
{
$this->service = $service;
}
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$settings = $this->service()->all();
return view('setting::admin.index')->withResources($settings);
}