class PostController
{
public function attach($id) {
dd($id);
}
}
public function testAccountAttach()
{
$response = $this->call('GET', route('accountattach'), [
'id' => 1
]);
}
public function testAccountAttach()
{
$response = $this->call('GET', route('accountattach',[
'id' => 1
]));
}