Add new class create methods for proper phpunit testing

Instead of direct calling Client class and AWS class add a wrapper
method to call those so we can quicker replace under elements and
also do proper testing

Turn on mock tests on AWS side in normal test file
This commit is contained in:
2022-06-10 14:50:32 +09:00
parent b26cc82055
commit 774e553d90
3 changed files with 26 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ $run_fund_test = true;
// run the normal get/cancel gift card tests
$run_gift_tests = true;
// run mock error check tests
$run_mocks = false;
$run_mocks = true;
// should we print debug info
$debug_print = false;