File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
tests/Storefront/Framework/Cookie Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2020use Shopware \Core \Framework \DataAbstractionLayer \Search \Criteria ;
2121use Shopware \Core \Framework \DataAbstractionLayer \Search \IdSearchResult ;
2222use Shopware \Core \Framework \Log \Package ;
23+ use Shopware \Core \Framework \Test \TestCaseBase \IntegrationTestBehaviour ;
2324use Shopware \Core \Framework \Uuid \Uuid ;
2425use Shopware \Core \System \SalesChannel \SalesChannelContext ;
2526use Swag \PayPal \Storefront \Framework \Cookie \CookieProviderSubscriber ;
3233#[Package('checkout ' )]
3334class 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 {
You can’t perform that action at this time.
0 commit comments