generateCashOnDeliveryOrder($I); $shipments = $I->have(Shipment::class); $token = $I->amCreatingTokenForSanctumAuthenticatedCustomer($order->customer); $I->haveAllNecessaryHeaders($token); $I->sendGet($this->getVersionRoute('customer/shipments')); $I->seeAllNecessarySuccessResponse(); } }