I am creating HTTP tests for an existing laravel application as described in the docs. The tests look something like this:
public function testSomething()
{
$this->get('/something')->assertOk();
}
The app has some endpoints that use the HTTP SEARCH method, declared like this:
Route::addRoute('SEARCH', '', 'SomeController@index');
However, the test class doesn't have a search('/something') method.
Is there any way to test a route with custom HTTP methods?