Skip to content

Commit

Permalink
fix: broken pact provider test not consistent with types
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyr-7D1h committed Jul 19, 2021
1 parent 35de1c5 commit 29af342
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ export class PactProviderConfigOptionsService
this.animalRepository.clear();
token = '1234';

return 'Animals removed to the db';
return { description: 'Animals removed to the db' };
},
'Has some animals': async () => {
token = '1234';
this.animalRepository.importData();

return 'Animals added to the db';
return { description: 'Animals added to the db' };
},
'Has an animal with ID 1': async () => {
token = '1234';
this.animalRepository.importData();

return 'Animals added to the db';
return { description: 'Animals added to the db' };
},
'is not authenticated': async () => {
token = '';

return 'Invalid bearer token generated';
return { description: 'Invalid bearer token generated' };
},
},

Expand Down

0 comments on commit 29af342

Please sign in to comment.