Files
api/services/nginx/app/tests/Unit/Selfserve/DepartmentLaneRelayOptionsRouteWiringTest.php
T

11 lines
431 B
PHP

<?php
it('registers a department lane relay options endpoint backed by Shelly inventory', function (): void {
$route = file_get_contents(app_path('routes/departmentLanesRoute.php'));
expect($route)->not->toBeFalse();
expect($route)->toContain("'/department/lanes/relay-options'");
expect($route)->toContain('new shelly_relay_inventory()');
expect($route)->toContain('LIST_DEPARTMENT_LANE_RELAY_OPTIONS');
});