test: name the vessel provider in the feed-failure QA fixture

The fixture answers /api/vessels without X-Feed-Source, so the source
fell back to the feed's name and the attribution check failed. Send
AISStream as the bundled server does.
This commit is contained in:
Sameh Khamis committed 2026-10-03 23:20:42 -07:00
1 parent 60644c5f5d
commit b0483dc546
1 file changed
+2
+2
View File
@@ -197,6 +197,8 @@ async function main() {
req.respond({
status: 200,
contentType: 'application/json',
// The bundled server names its vessel provider; attribution reads it.
headers: { 'X-Feed-Source': 'AISStream' },
body: JSON.stringify({ rows: [], status: 'error', error: 'invalid key' }),
});
return;