Update Agheera push URL in client and tests to use production endpoint

This commit is contained in:
abiandev
2026-06-01 17:09:27 +02:00
parent 5212bbad71
commit 8a5cdba7df
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ test('POST /api/locations envia posicion a Agheera para cliente 532', async () =
assert.equal(agheeraCalls.length, 1);
const call = agheeraCalls[0];
assert.equal(call.url, 'https://push-test.agheera.com/Telematics/Positions');
assert.equal(call.url, 'https://push-dhl.agheera.com/Telematics/positions');
assert.equal(call.options.headers.apiKey, 'test-api-key');
const payload = JSON.parse(call.options.body);
+1 -1
View File
@@ -1204,7 +1204,7 @@ test('POST /api/trips/:id/status cliente 532 envia posicion a Agheera en estado
assert.equal(agheeraCalls.length, 1);
const call = agheeraCalls[0];
assert.equal(call.url, 'https://push-test.agheera.com/Telematics/Positions');
assert.equal(call.url, 'https://push-dhl.agheera.com/Telematics/positions');
assert.equal(call.options.method, 'POST');
assert.equal(call.options.headers.apiKey, 'test-api-key');
assert.equal(call.options.headers['Content-Type'], 'application/json');