Add unit tests for various modules: attachments grouping, department weather caching behaviors, economic module order sanitization, enriched order batching, and user cashier name lookups. Update related route logic for enhanced data fetching and caching integrations.
This commit is contained in:
@@ -128,6 +128,9 @@ it('wires departments weather route through the forecast fallback path', functio
|
||||
$content = (string)file_get_contents($routeFile);
|
||||
|
||||
expect($content)->toContain('fetchDepartmentForecastOrFallback');
|
||||
expect($content)->toContain('$this->resolveForecastDaysForTimelineRange');
|
||||
expect($content)->toContain('$this->buildDepartmentWeatherTimeline');
|
||||
expect($content)->not->toContain('static function () use ($coordinates');
|
||||
expect($content)->toContain('DEPARTMENTS_WEATHER_FALLBACK');
|
||||
expect($content)->not->toContain('Selected department(s) do not have GPS coordinates configured');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user