mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix test warnings
This commit is contained in:
parent
bff551c13b
commit
33bfc32427
2 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,7 @@ namespace WooCommerce\PayPalCommerce\Button\Endpoint;
|
|||
|
||||
use Exception;
|
||||
use Mockery;
|
||||
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use WooCommerce\PayPalCommerce\Button\Exception\ValidationException;
|
||||
use WooCommerce\PayPalCommerce\Button\Validation\CheckoutFormValidator;
|
||||
|
@ -13,6 +14,8 @@ use function Brain\Monkey\Functions\expect;
|
|||
|
||||
class ValidateCheckoutEndpointTest extends TestCase
|
||||
{
|
||||
use MockeryPHPUnitIntegration;
|
||||
|
||||
private $requestData;
|
||||
private $formValidator;
|
||||
private $logger;
|
||||
|
|
|
@ -43,6 +43,8 @@ class ValidationTest extends TestCase
|
|||
'terms-field'=>'1',
|
||||
'terms'=>'on',
|
||||
]);
|
||||
|
||||
self::assertTrue(true); // no assertions warnings
|
||||
}
|
||||
|
||||
public function testInvalid()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue