ungültige paket-IDs werden nun abgefangen
This commit is contained in:
@@ -326,11 +326,13 @@ class CheckoutAuthTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function test_checkout_show_with_invalid_package_returns_404()
|
||||
public function test_checkout_show_with_invalid_package_redirects_to_packages()
|
||||
{
|
||||
$response = $this->get(CheckoutRoutes::wizardUrl(999, 'de'));
|
||||
|
||||
$response->assertStatus(404);
|
||||
$response
|
||||
->assertRedirect(route('packages', ['locale' => 'de']))
|
||||
->assertSessionHas('error', __('marketing.packages.package_not_found'));
|
||||
}
|
||||
|
||||
public function test_checkout_register_missing_required_fields()
|
||||
|
||||
Reference in New Issue
Block a user