27-05-2026 DHL Modul v2.1 / Optimierung tracking

This commit is contained in:
Kevin Adametz 2026-05-27 18:51:23 +02:00
parent 036595be94
commit 2bdc9ada3c
33 changed files with 2367 additions and 2086 deletions

View file

@ -0,0 +1,15 @@
<?php
it('does not register the public tracking route inside the CRM admin group', function () {
$crmRoutes = file_get_contents(base_path('routes/domains/crm.php'));
expect($crmRoutes)
->not->toMatch('/Route::(get|post|match|any)\([^)]*\)->name\([\'"]public\.tracking[\'"]\)/');
});
it('still exposes the public tracking route on the main domain', function () {
$mainRoutes = file_get_contents(base_path('routes/domains/main.php'));
expect($mainRoutes)
->toMatch('/Route::get\([\'"]\/tracking[\'"][^)]*\)->name\([\'"]public\.tracking[\'"]\)/');
});