fix(api): force Manila timezone for upcoming pickups evaluation
This commit is contained in:
11
test.php
Normal file
11
test.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$req = Illuminate\Http\Request::create('/api/v1/me/upcoming-pickups', 'GET');
|
||||
$req->setUserResolver(fn() => App\Models\User::find(6));
|
||||
|
||||
$ctrl = app()->make(App\Http\Controllers\Api\V1\Me\UpcomingPickupsController::class);
|
||||
$f = app()->make(App\Services\DropOff\DropOffPointFinder::class);
|
||||
|
||||
$res = $ctrl->index($req, $f);
|
||||
|
||||
echo json_encode($res->getData(), JSON_PRETTY_PRINT);
|
||||
Reference in New Issue
Block a user