mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2026-06-17 16:40:31 +00:00
🔄 Update flag asset paths for cities, venues, and countries across API and tools
This commit is contained in:
@@ -24,7 +24,7 @@ it('returns all cities with country code and flag on GET /api/cities?withDetails
|
||||
expect($first)
|
||||
->toHaveKeys(['id', 'name', 'country_id', 'country', 'flag'])
|
||||
->and($first['country'])->toHaveKeys(['id', 'name', 'code'])
|
||||
->and($first['flag'])->toContain('4x3-'.$cities->first()->country->code.'.svg');
|
||||
->and($first['flag'])->toContain('vendor/blade-flags/country-'.$cities->first()->country->code.'.svg');
|
||||
});
|
||||
|
||||
it('limits GET /api/venues to 10 entries without withDetails', function () {
|
||||
|
||||
Reference in New Issue
Block a user