Go to the source code of this file.
Variables | |
| $repo = new \dbx\dbxShop\dbxShopRepository() | |
| $method = new ReflectionMethod($repo, 'isStalePaymentProcessing') | |
| $now = strtotime('2026-07-24 12:00:00') | |
| $fail | |
| if($method->invoke($repo, array('payment_status'=> 'created', 'update_date'=> '2026-07-24 11:00:00',), 300, $now)) if( $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:59:01',), 300, $now)) if(! $method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:55:00',), 300, $now)) if(! $method->invoke( $repo, array( 'payment_status'=> 'PROCESSING', 'update_date'=> '2026-07-24 11:59:00',), 1, $now)) | if ( $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '',), 300, $now)) |
| $fail |
Definition at line 10 of file payment_claim_policy_test.php.
| $method = new ReflectionMethod($repo, 'isStalePaymentProcessing') |
Definition at line 6 of file payment_claim_policy_test.php.
| $now = strtotime('2026-07-24 12:00:00') |
Definition at line 8 of file payment_claim_policy_test.php.
Referenced by dbxForm\check_try_count(), dbxDB\delete(), dbxDB\insert(), dbx\dbxSelfTest\dbxSelfTestRunner\recordBrowserTestResult(), dbxReport\run(), dbx\dbxSelfTest\dbxSelfTestRunner\startRun(), and dbxDB\update().
| $repo = new \dbx\dbxShop\dbxShopRepository() |
Definition at line 5 of file payment_claim_policy_test.php.
Referenced by if().
| if( $method->invoke( $repo, array( 'payment_status'=> 'created', 'update_date'=> '2026-07-24 11:00:00',), 300, $now)) if($method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:59:01',), 300, $now)) if(! $method->invoke( $repo, array( 'payment_status'=> 'processing', 'update_date'=> '2026-07-24 11:55:00',), 300, $now)) if(! $method->invoke($repo, array('payment_status'=> 'PROCESSING', 'update_date'=> '2026-07-24 11:59:00',), 1, $now)) if($method->invoke($repo, array('payment_status'=> 'processing', 'update_date'=> '',), 300, $now)) | ( | $method-> $repo, array( 'payment_status'=> 'processing', 'update_date'=> '',), 300, $now | ) |
Definition at line 43 of file payment_claim_policy_test.php.