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A)4a62AIDm+G;@xd0
zR5c|l_>^-^ba{ai#r1c0|lQXlfNRUm!8^NIy+1U$i-*!f4)N-LcFjC+ATE+CO
zrw*pYyGM&&Hzm
z17vQvixpH`cv^)fQr^uXN@`xx#bd&9
zx?7C;N;IP)lzPURSfQRw_mHeC4CmzXSgT{bA(M}3hZM@Ji>x-@)5Yp&Z${ZzRVk@h
z*z32o3C=`iCnRR)$?JQ2&DUskIkN}+$sWScq??+c?Ti_ELYIq)eVAh}85d<4@MtYR
zubXXvRjhe9h%>!Z>3r)cLk4CP9Xt>Kf>xDIMP{lgJ98z4@p3D!N0GI+jy}_nV;egb
zQR7d9t3P?zROdX%*m+RKLs~H}6Q@HYG0t`y1UZVP#d_+Z#XvVV1L=IJa#l6ihCtO4
zOfq>L4~GF}&UgMjt^To+Ge0~5{Mip4{LD~ed55sR-81rx6;Kg4Rr--Yd{-lM&ghVR
z7!rZ3mpRwG-4fT+O)o~(F70XrbIH|A63)I%+*uewD7-sh$@XAE&aLU6?TBuvo9?Os
z+8*6y+Ug3eNA$zKOn#1QnJ-)4nJ6s`hfNdHs|-DHi{%`2U9uuuIRjz~lG=X%a><-2
z=%Z|3`~Kqzm~g%Lz})?--;I+E=2jurkz?hHJ#%zKa$tRpHlsUvjjDFF;5n~$+lgM2ho&EZAVeEr<#AIlU*m2+()hc8duOf-^8NPN<
zw)>M~f5P*RvCtp3mgN!Q{%FwxrvjQ!5%$`vM_T?i-&`;3dK$hFu?W?mr&lmLecM`|
z2vw7F%}u>?1CRZsJ}N!hk^gc8b+wgRkfYGlj&RGY&!+U-lak!-*__{155{li>iUrf
z;8R%Lgc&=C`IaWOFTc206pi49HC8rX0l5T>=WjZrSLdnSYlF-fXm}_I;YdcreateMock(Connection::class);
- $connection->method('fetchAllAssociative')->willReturn([
- [
- 'content_plain' => 'My content',
- 'content_html' => 'My content
',
- 'subject' => 'Test template',
- 'technical_name' => 'test_template',
- 'locale' => 'en',
- ],
- ]);
-
- $command = new ExportCommand($connection);
-
- $tester = new CommandTester($command);
- $tester->execute(['directory' => sys_get_temp_dir()]);
-
- $htmlFile = sys_get_temp_dir() . '/en/test_template/html.twig';
- $plainFile = sys_get_temp_dir() . '/en/test_template/plain.twig';
- $subjectFile = sys_get_temp_dir() . '/en/test_template/subject.twig';
-
- static::assertFileExists($htmlFile);
- static::assertFileExists($plainFile);
- static::assertFileExists($subjectFile);
-
- static::assertEquals('My content
', file_get_contents($htmlFile));
- static::assertEquals('My content', file_get_contents($plainFile));
- static::assertEquals('Test template', file_get_contents($subjectFile));
-
- static::assertSame(0, $tester->getStatusCode());
- static::assertStringContainsString('Files has been exported', $tester->getDisplay());
- }
-}
diff --git a/tests/DependencyInjection/CacheCompilerPassTest.php b/tests/DependencyInjection/CacheCompilerPassTest.php
deleted file mode 100644
index da99edd..0000000
--- a/tests/DependencyInjection/CacheCompilerPassTest.php
+++ /dev/null
@@ -1,42 +0,0 @@
-buildContainer();
- $c->setParameter('kernel.environment', 'dev');
- $c->compile();
-
- static::assertFalse($c->hasDefinition(CachedMailFinderService::class));
- }
-
- public function testCacheStaysInProd(): void
- {
- $c = $this->buildContainer();
- $c->compile();
-
- static::assertTrue($c->hasDefinition(CachedMailFinderService::class));
- }
-
- private function buildContainer(): ContainerBuilder
- {
- $container = new ContainerBuilder();
- $container->addCompilerPass(new CacheCompilerPass());
- $d = new Definition();
- $d->setPublic(true);
- $container->setDefinition(CachedMailFinderService::class, $d);
- $container->setParameter('kernel.environment', 'prod');
-
- return $container;
- }
-}
diff --git a/tests/Extension/MailTemplateExtensionTest.php b/tests/Extension/MailTemplateExtensionTest.php
deleted file mode 100644
index 9138364..0000000
--- a/tests/Extension/MailTemplateExtensionTest.php
+++ /dev/null
@@ -1,40 +0,0 @@
-getMockBuilder(FieldCollection::class)
- ->disableOriginalConstructor()
- ->onlyMethods(['add'])
- ->getMock();
-
- $collection
- ->expects(static::once())
- ->method('add')
- ->withConsecutive(
- [
- (new StringField('frosh_template_mail', 'froshTemplateMail'))->addFlags(new Runtime()),
- ]
- );
-
- (new MailTemplateExtension())->extendFields($collection);
- }
-
- public function testGetDefinitionClassReturnsMailTemplateDefinitionClass(): void
- {
- static::assertSame(
- MailTemplateDefinition::class,
- (new MailTemplateExtension())->getDefinitionClass()
- );
- }
-}
diff --git a/tests/Integration/OrderTest.php b/tests/Integration/OrderTest.php
deleted file mode 100644
index 0c2e6d3..0000000
--- a/tests/Integration/OrderTest.php
+++ /dev/null
@@ -1,181 +0,0 @@
-orderService = $this->getContainer()->get(OrderService::class);
-
- $this->addCountriesToSalesChannel();
-
- $contextFactory = $this->getContainer()->get(SalesChannelContextFactory::class);
- $this->salesChannelContext = $contextFactory->create(
- '',
- TestDefaults::SALES_CHANNEL,
- [SalesChannelContextService::CUSTOMER_ID => $this->createCustomer('Jon', 'Doe')]
- );
- }
-
- public function testOrderConfirmationMail(): void
- {
- $eventDispatcher = $this->getContainer()->get('event_dispatcher');
- $mailSentEvent = null;
-
- $eventDispatcher->addListener(MailSentEvent::class, function (MailSentEvent $e) use (&$mailSentEvent): void {
- $mailSentEvent = $e;
- });
-
- $this->performOrder();
-
- static::assertNotNull($mailSentEvent, 'Mail did not sent');
-
- static::assertSame(
- [
- 'text/html' => 'HTML CONFIRM',
- 'text/plain' => 'TEXT CONFIRM',
- ],
- $mailSentEvent->getContents()
- );
- static::assertSame('SUBJECT CONFIRM', $mailSentEvent->getSubject());
- }
-
- private function fillCart(string $contextToken): void
- {
- $cart = $this->getContainer()->get(CartService::class)->createNew($contextToken);
-
- $productId = $this->createProduct();
- $cart->add(new LineItem('lineItem1', LineItem::PRODUCT_LINE_ITEM_TYPE, $productId));
- $cart->setTransactions($this->createTransaction());
- }
-
- private function createProduct(): string
- {
- $productId = Uuid::randomHex();
-
- $product = [
- 'id' => $productId,
- 'name' => 'Test product',
- 'productNumber' => '123456789',
- 'stock' => 1,
- 'price' => [
- ['currencyId' => Defaults::CURRENCY, 'gross' => 19.99, 'net' => 10, 'linked' => false],
- ],
- 'manufacturer' => ['id' => $productId, 'name' => 'shopware AG'],
- 'tax' => ['id' => $this->getValidTaxId(), 'name' => 'testTaxRate', 'taxRate' => 15],
- 'categories' => [
- ['id' => $productId, 'name' => 'Test category'],
- ],
- 'visibilities' => [
- [
- 'id' => $productId,
- 'salesChannelId' => TestDefaults::SALES_CHANNEL,
- 'visibility' => ProductVisibilityDefinition::VISIBILITY_ALL,
- ],
- ],
- ];
-
- $this->getContainer()->get('product.repository')->create([$product], Context::createDefaultContext());
-
- return $productId;
- }
-
- private function createTransaction(): TransactionCollection
- {
- return new TransactionCollection([
- new Transaction(
- new CalculatedPrice(
- 13.37,
- 13.37,
- new CalculatedTaxCollection(),
- new TaxRuleCollection()
- ),
- $this->getValidPaymentMethodId()
- ),
- ]);
- }
-
- private function performOrder(): string
- {
- $data = new RequestDataBag(['tos' => true]);
- $this->fillCart($this->salesChannelContext->getToken());
-
- return $this->orderService->createOrder($data, $this->salesChannelContext);
- }
-
- private function createCustomer(string $firstName, string $lastName, array $options = []): string
- {
- $customerId = Uuid::randomHex();
- $salutationId = $this->getValidSalutationId();
- $paymentMethodId = $this->getValidPaymentMethodId();
-
- $customer = [
- 'id' => $customerId,
- 'salesChannelId' => TestDefaults::SALES_CHANNEL,
- 'defaultShippingAddress' => [
- 'id' => $customerId,
- 'firstName' => $firstName,
- 'lastName' => $lastName,
- 'city' => 'Schöppingen',
- 'street' => 'Ebbinghoff 10',
- 'zipcode' => '48624',
- 'salutationId' => $salutationId,
- 'countryId' => $this->getValidCountryId(),
- ],
- 'defaultBillingAddressId' => $customerId,
- 'defaultPaymentMethodId' => $paymentMethodId,
- 'groupId' => TestDefaults::FALLBACK_CUSTOMER_GROUP,
- 'email' => Uuid::randomHex() . '@example.com',
- 'password' => 'nott1234',
- 'firstName' => $firstName,
- 'lastName' => $lastName,
- 'salutationId' => $salutationId,
- 'customerNumber' => '12345',
- ];
-
- $customer = array_merge_recursive($customer, $options);
-
- $this->getContainer()->get('customer.repository')->create([$customer], Context::createDefaultContext());
-
- return $customerId;
- }
-}
diff --git a/tests/Integration/SetupExampleTemplatesTrait.php b/tests/Integration/SetupExampleTemplatesTrait.php
deleted file mode 100644
index 92bf77d..0000000
--- a/tests/Integration/SetupExampleTemplatesTrait.php
+++ /dev/null
@@ -1,51 +0,0 @@
- 'HTML CONFIRM',
- 'global/order_confirmation_mail/plain.twig' => 'TEXT CONFIRM',
- 'global/order_confirmation_mail/subject.twig' => 'SUBJECT CONFIRM',
- ];
-
- /**
- * @before
- */
- public function setupTemplates(): void
- {
- $fs = new Filesystem();
-
- $resources = $this->getResourcesFolder();
- foreach ($this->tplFiles as $tplFile => $content) {
- $file = $resources . '/' . $tplFile;
- $folder = \dirname($file);
- $fs->mkdir($folder);
-
- $fs->dumpFile($file, $content);
- }
- }
-
- /**
- * @after
- */
- public function removeTemplates(): void
- {
- $fs = new Filesystem();
-
- $resources = $this->getResourcesFolder();
- foreach ($this->tplFiles as $tplFile => $content) {
- $file = $resources . '/' . $tplFile;
- $fs->remove($file);
- }
- }
-
- private function getResourcesFolder(): string
- {
- return \dirname(__DIR__, 2) . '/src/Resources/views/email/';
- }
-}
diff --git a/tests/Services/MailLoader/CachedMailFinderServiceTest.php b/tests/Services/MailLoader/CachedMailFinderServiceTest.php
deleted file mode 100644
index ccc76cd..0000000
--- a/tests/Services/MailLoader/CachedMailFinderServiceTest.php
+++ /dev/null
@@ -1,26 +0,0 @@
-createMock(MailFinderService::class);
- $mailFinder->method('findTemplateByTechnicalName')->willReturnCallback(fn () => (string) microtime(true));
-
- $cachedMailFinder = new CachedMailFinderService($mailFinder, new ArrayAdapter());
- $context = new TemplateMailContext('1234', Context::createDefaultContext());
-
- $time = $cachedMailFinder->findTemplateByTechnicalName('', '', $context);
- static::assertSame($time, $cachedMailFinder->findTemplateByTechnicalName('', '', $context));
- }
-}
diff --git a/tests/Services/MailLoader/MjmlLoaderTest.php b/tests/Services/MailLoader/MjmlLoaderTest.php
deleted file mode 100644
index 36fe495..0000000
--- a/tests/Services/MailLoader/MjmlLoaderTest.php
+++ /dev/null
@@ -1,57 +0,0 @@
-supportedExtensions());
-
- $text = $loader->load(__DIR__ . '/_fixtures/test.mjml');
- static::assertStringContainsString('', $text);
- static::assertStringContainsString('', $text);
- }
-
- public function testApiIsNotAvailable(): void
- {
- $mock = new MockHandler([
- new ServerException('Error Communicating with Server', new Request('GET', 'test'), new Response(500)),
- ]);
-
- $handlerStack = HandlerStack::create($mock);
- $client = new Client(['handler' => $handlerStack]);
-
- $loader = new MjmlLoader(new NullLogger(), $client);
-
- static::assertSame('', $loader->load(__DIR__ . '/_fixtures/test.mjml'));
- }
-
- public function testApiRespondsErrors(): void
- {
- $mock = new MockHandler([
- new Response(200, ['Content-Type' => 'application/json'], json_encode(['errors' => ['some error happend']])),
- ]);
-
- $handlerStack = HandlerStack::create($mock);
- $client = new Client(['handler' => $handlerStack]);
-
- $loader = new MjmlLoader(new NullLogger(), $client);
-
- static::expectException(MjmlCompileError::class);
- $loader->load(__DIR__ . '/_fixtures/test.mjml');
- }
-}
diff --git a/tests/Services/MailLoader/TwigLoaderTest.php b/tests/Services/MailLoader/TwigLoaderTest.php
deleted file mode 100644
index bd06253..0000000
--- a/tests/Services/MailLoader/TwigLoaderTest.php
+++ /dev/null
@@ -1,19 +0,0 @@
-supportedExtensions());
- static::assertNotEmpty($loader->load($storefront->getPath() . '/Resources/views/storefront/base.html.twig'));
- }
-}
diff --git a/tests/Services/MailLoader/_fixtures/test.inky b/tests/Services/MailLoader/_fixtures/test.inky
deleted file mode 100644
index e514481..0000000
--- a/tests/Services/MailLoader/_fixtures/test.inky
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- Put content in me!
-
-
diff --git a/tests/Services/MailLoader/_fixtures/test.mjml b/tests/Services/MailLoader/_fixtures/test.mjml
deleted file mode 100644
index 004b668..0000000
--- a/tests/Services/MailLoader/_fixtures/test.mjml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
- Hello World
-
-
-
-
diff --git a/tests/Services/SearchPathProviderTest.php b/tests/Services/SearchPathProviderTest.php
deleted file mode 100644
index 509cf31..0000000
--- a/tests/Services/SearchPathProviderTest.php
+++ /dev/null
@@ -1,78 +0,0 @@
-setId(Defaults::LANGUAGE_SYSTEM);
- $locale = new LocaleEntity();
- $locale->setCode('en-GB');
- $language->setLocale($locale);
- $repository = new StaticEntityRepository([new EntityCollection([$language])]);
-
- $provider = new SearchPathProvider($repository);
- static::assertSame($expectedPaths, $provider->buildPaths($event));
- }
-
- public function eventProvider(): iterable
- {
- // Without sales channel source
-
- yield [
- $this->createEvent(),
- [
- '98432def39fc4624b33213a56b8c944d/en-GB', // Sales channel and language combo
- '98432def39fc4624b33213a56b8c944d', // Sales channel
- 'en-GB', // Language code
- '2fbb5fe2e29a4d70aa5854ce7ce3e20b', // Language id
- 'global', // Global
- ],
- ];
-
- // With sales channel source
-
- yield [
- $this->createEvent(true),
- [
- '98432def39fc4624b33213a56b8c944d/en-GB', // Sales channel and language combo
- '98432def39fc4624b33213a56b8c944d', // Sales channel
- 'en-GB', // Language code
- '2fbb5fe2e29a4d70aa5854ce7ce3e20b', // Language id
- 'global', // Global
- ],
- ];
- }
-
- private function createEvent(bool $salesChannelSource = false): TemplateMailContext
- {
- $context = new Context(
- $salesChannelSource ? new SalesChannelApiSource(TestDefaults::SALES_CHANNEL) : new SystemSource()
- );
-
- return new TemplateMailContext(TestDefaults::SALES_CHANNEL, $context);
- }
-}
diff --git a/tests/Services/StringTemplateRendererTest.php b/tests/Services/StringTemplateRendererTest.php
deleted file mode 100644
index 8ec3625..0000000
--- a/tests/Services/StringTemplateRendererTest.php
+++ /dev/null
@@ -1,29 +0,0 @@
-render('{{ text }}', ['text' => 'foo'], Context::createDefaultContext()));
- }
-
- public function testInvalidString(): void
- {
- $renderer = new StringTemplateRenderer(new Environment(new ArrayLoader()));
-
- static::expectException(StringTemplateRenderingException::class);
-
- $renderer->render('{{ text() }}', [], Context::createDefaultContext());
- }
-}
diff --git a/tests/Subscriber/FlowSubscriberTest.php b/tests/Subscriber/FlowSubscriberTest.php
deleted file mode 100644
index b797011..0000000
--- a/tests/Subscriber/FlowSubscriberTest.php
+++ /dev/null
@@ -1,33 +0,0 @@
- 'onFlowSendMailActionEvent',
- ], FlowSubscriber::getSubscribedEvents());
- }
-
- public function testEmptyMailDoesNothing(): void
- {
- $mailTemplateTypeRepository = $this->createMock(EntityRepository::class);
- $mailTemplateTypeRepository->expects(static::never())->method('search');
-
- $subscriber = new FlowSubscriber($mailTemplateTypeRepository, $this->createMock(MailFinderServiceInterface::class));
- $subscriber->onFlowSendMailActionEvent(new FlowSendMailActionEvent(new DataBag([]), new MailTemplateEntity(), new StorableFlow('test', Context::createDefaultContext())));
- }
-}
diff --git a/tests/TestBootstrap.php b/tests/TestBootstrap.php
deleted file mode 100644
index 89c7d5b..0000000
--- a/tests/TestBootstrap.php
+++ /dev/null
@@ -1,11 +0,0 @@
-addCallingPlugin()
- ->addActivePlugins('FroshPlatformTemplateMail')
- ->bootstrap()
- ->getClassLoader();
-
-$loader->addPsr4('Frosh\\TemplateMail\\Tests\\', __DIR__);