forked from LiveCarta/PayPal-PHP-SDK
Making Functional Test Validation Strict
This commit is contained in:
@@ -19,7 +19,7 @@ class Setup
|
|||||||
'log.LogEnabled' => true,
|
'log.LogEnabled' => true,
|
||||||
'log.FileName' => '../PayPal.log',
|
'log.FileName' => '../PayPal.log',
|
||||||
'log.LogLevel' => 'FINE',
|
'log.LogLevel' => 'FINE',
|
||||||
'validation.level' => 'log'
|
'validation.level' => 'strict'
|
||||||
);
|
);
|
||||||
$test->apiContext = new ApiContext(
|
$test->apiContext = new ApiContext(
|
||||||
new OAuthTokenCredential('AYSq3RDGsmBLJE-otTkBtM-jBRd1TCQwFf9RGfwddNXWz0uFU9ztymylOhRS', 'EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL')
|
new OAuthTokenCredential('AYSq3RDGsmBLJE-otTkBtM-jBRd1TCQwFf9RGfwddNXWz0uFU9ztymylOhRS', 'EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL')
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
// Include the composer autoloader
|
// Include the composer autoloader
|
||||||
$loader = require dirname(__DIR__) . '/vendor/autoload.php';
|
$loader = require dirname(__DIR__) . '/vendor/autoload.php';
|
||||||
|
if (!ini_get('date.timezone')) {
|
||||||
|
date_default_timezone_set('GMT');
|
||||||
|
}
|
||||||
$loader->add('PayPal\\Test', __DIR__);
|
$loader->add('PayPal\\Test', __DIR__);
|
||||||
if (!defined("PP_CONFIG_PATH")) {
|
if (!defined("PP_CONFIG_PATH")) {
|
||||||
define("PP_CONFIG_PATH", __DIR__);
|
define("PP_CONFIG_PATH", __DIR__);
|
||||||
|
|||||||
Reference in New Issue
Block a user