update tests

This commit is contained in:
Kirill Braslavsky 2021-03-17 10:30:02 +02:00
parent f599d3b0b7
commit a50a0cd5cb
4 changed files with 63 additions and 40 deletions

View file

@ -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')

View file

@ -2,7 +2,7 @@
declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\WcGateway\Repository;
use Mockery\Adapter\Phpunit\MockeryTestCase;