Skip to content

Commit

Permalink
NEXT-12037 - Fix newsletter test
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSkroblin authored and philipreinken committed Feb 15, 2021
1 parent 75fa434 commit d0a6624
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ private function installTestData(): void
$recipientSql = file_get_contents(__DIR__ . '/../fixtures/recipient.sql');
$recipientSql = str_replace(':createdAt', (new \DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT), $recipientSql);
$this->getContainer()->get(Connection::class)->exec($recipientSql);

$templateSql = file_get_contents(__DIR__ . '/../fixtures/template.sql');
$this->getContainer()->get(Connection::class)->exec($templateSql);
}

private function getTaskHandler(): NewsletterRecipientTaskHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,5 @@ private function installTestData(): void
$recipientSql = file_get_contents(__DIR__ . '/../fixtures/recipient.sql');
$recipientSql = str_replace(':createdAt', (new \DateTime())->format(Defaults::STORAGE_DATE_TIME_FORMAT), $recipientSql);
$this->getContainer()->get(Connection::class)->exec($recipientSql);

$templateSql = file_get_contents(__DIR__ . '/../fixtures/template.sql');
$this->getContainer()->get(Connection::class)->exec($templateSql);
}
}
12 changes: 0 additions & 12 deletions src/Core/Content/Test/Newsletter/fixtures/template.sql

This file was deleted.

0 comments on commit d0a6624

Please sign in to comment.