Skip to content

Commit

Permalink
Added eligibility to stub class.
Browse files Browse the repository at this point in the history
  • Loading branch information
rickogden committed Jun 13, 2019
1 parent e72fc0a commit 21765d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Test/ClientStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ protected function makeRequest(
case self::PATH_CREATE_CREDIT:
$json = \file_get_contents(__DIR__.'/data/credit_collection.json');
break;
case self::PATH_GET_ELIGIBILITY:
$json = \file_get_contents(__DIR__.'data/eligibility.json');
break;
default:
throw new FailedResponseException('Not found.');
}
Expand Down

0 comments on commit 21765d0

Please sign in to comment.