write tests for azmayesh resources
This commit is contained in:
@@ -69,6 +69,8 @@ class AzmayeshSampleController extends Controller
|
||||
*/
|
||||
public function update(UpdateRequest $request, AzmayeshSample $azmayeshSample)
|
||||
{
|
||||
$azmayesh = Azmayesh::query()->findOrFail($request->azmayesh_id);
|
||||
|
||||
$azmayeshSample->update([
|
||||
'azmayesh_id' => $azmayesh->id,
|
||||
'azmayesh_project_name' => $azmayesh->project_name,
|
||||
|
||||
Reference in New Issue
Block a user