mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
update tests
This commit is contained in:
parent
f599d3b0b7
commit
a50a0cd5cb
4 changed files with 63 additions and 40 deletions
|
@ -2,10 +2,11 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
|
||||
namespace WooCommerce\PayPalCommerce\WcGateway\Repository;
|
||||
|
||||
use Hamcrest\Matchers;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Entity\ApplicationContext;
|
||||
use WooCommerce\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
|
||||
use WooCommerce\PayPalCommerce\TestCase;
|
||||
use Mockery\MockInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
@ -25,8 +26,6 @@ class ApplicationContextRepositoryTest extends TestCase
|
|||
array $expected
|
||||
): void
|
||||
{
|
||||
$brandName = 'Acme Corp.';
|
||||
|
||||
// Config
|
||||
foreach ($container as $key => $value) {
|
||||
$this->buildTestee()[0]->shouldReceive('has')
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
|
||||
namespace WooCommerce\PayPalCommerce\WcGateway\Repository;
|
||||
|
||||
use Mockery\Adapter\Phpunit\MockeryTestCase;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue