From fcbc1901f7487016bc70d71529fbde8749cf2fb2 Mon Sep 17 00:00:00 2001 From: Inga Date: Fri, 27 Oct 2023 11:41:50 +0000 Subject: [PATCH] fixed tests --- src/storage/samplePackagesRepository.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/storage/samplePackagesRepository.spec.ts b/src/storage/samplePackagesRepository.spec.ts index b9fcff0..4da1946 100644 --- a/src/storage/samplePackagesRepository.spec.ts +++ b/src/storage/samplePackagesRepository.spec.ts @@ -1,9 +1,9 @@ import { createSamplePackagesRepository } from './samplePackagesRepository'; describe('createSamplePackagesRepository', () => { - it('returns correct info for FedEx/TN12345681', async () => { + it('returns correct info for FedEx/TN12345683', async () => { const client = await createSamplePackagesRepository(); - const result = await client.getPackage('FedEx', 'TN12345681'); + const result = await client.getPackage('FedEx', 'TN12345683'); expect(result).toEqual({ found: true, value: { @@ -15,13 +15,13 @@ describe('createSamplePackagesRepository', () => { receiverAddress: 'Street 9, 1016 Amsterdam, Netherlands', senderAddress: 'Street 4, 50667 Cologne, Germany', status: 'transit', - trackingNumber: 'TN12345681', + trackingNumber: 'TN12345683', }, }); }); - it('does not return info for DHL/TN12345681', async () => { + it('does not return info for DHL/TN12345683', async () => { const client = await createSamplePackagesRepository(); - const result = await client.getPackage('DHL', 'TN12345681'); + const result = await client.getPackage('DHL', 'TN12345683'); expect(result).toEqual({ found: false, });