Skip to content

Commit 5999f12

Browse files
committed
get service test
1 parent a123623 commit 5999f12

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/Storefront/Framework/Cookie/CookieProviderSubscriberTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria;
2121
use Shopware\Core\Framework\DataAbstractionLayer\Search\IdSearchResult;
2222
use Shopware\Core\Framework\Log\Package;
23+
use Shopware\Core\Framework\Test\TestCaseBase\IntegrationTestBehaviour;
2324
use Shopware\Core\Framework\Uuid\Uuid;
2425
use Shopware\Core\System\SalesChannel\SalesChannelContext;
2526
use Swag\PayPal\Storefront\Framework\Cookie\CookieProviderSubscriber;
@@ -32,6 +33,15 @@
3233
#[Package('checkout')]
3334
class CookieProviderSubscriberTest extends TestCase
3435
{
36+
use IntegrationTestBehaviour;
37+
38+
public function testLoadService(): void
39+
{
40+
$subscriber = $this->getContainer()->get(CookieProviderSubscriber::class);
41+
42+
static::assertInstanceOf(CookieProviderSubscriber::class, $subscriber);
43+
}
44+
3545
#[DataProvider('dataStructs')]
3646
public function testRequiredStructsNotSet(?CookieGroupCollection $cookieGroupCollection): void
3747
{

0 commit comments

Comments
 (0)