Dingo $this->delete not working
Open
- Dominant language
- PHP
- Stars
- 9.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
`public function it_deletes_a_fruit()
{
$user = factory(\App\User::class)->create(['password'=> bcrypt('foo')]);
$fruit = \App\Fruit::create(['name' => 'peache', 'color' => 'peache', 'weight' => 125, 'delicious' => true]);
$response = $this->delete('api/fruits/' . $fruit->id, [], $this->headers($user));
$response->assertStatus(204);
}
}`
for don't worry about the **$fruit** and **$this->headers**
Why would this method not work?
Contributor guide
Assessment
This issue has not been assessed yet.