Making Functional Test Validation Strict

This commit is contained in:
Jay Patel
2015-09-28 16:40:34 -05:00
parent 879de440d1
commit 02fca1bda4
2 changed files with 4 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class Setup
'log.LogEnabled' => true,
'log.FileName' => '../PayPal.log',
'log.LogLevel' => 'FINE',
'validation.level' => 'log'
'validation.level' => 'strict'
);
$test->apiContext = new ApiContext(
new OAuthTokenCredential('AYSq3RDGsmBLJE-otTkBtM-jBRd1TCQwFf9RGfwddNXWz0uFU9ztymylOhRS', 'EGnHDxD_qRPdaLdZz8iCr8N7_MzF-YHPTkjs6NKYQvQSBngp4PTTVWkPZRbL')

View File

@@ -2,6 +2,9 @@
// Include the composer autoloader
$loader = require dirname(__DIR__) . '/vendor/autoload.php';
if (!ini_get('date.timezone')) {
date_default_timezone_set('GMT');
}
$loader->add('PayPal\\Test', __DIR__);
if (!defined("PP_CONFIG_PATH")) {
define("PP_CONFIG_PATH", __DIR__);