Skip to content

Commit

Permalink
Fix Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Kossin committed May 29, 2024
1 parent d576ea6 commit b88b78e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Resources/translations/admin.de.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sulu_community.blacklist": "RegistrationRule",
"sulu_community.registration_rule": "RegistrationRule",
"sulu_community.pattern": "Absender",
"sulu_community.type": "Typ",
"sulu_community.request": "Bestätigen",
Expand Down
2 changes: 1 addition & 1 deletion Resources/translations/admin.en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sulu_community.blacklist": "RegistrationRule",
"sulu_community.registration_rule": "RegistrationRule",
"sulu_community.pattern": "Sender",
"sulu_community.type": "Type",
"sulu_community.request": "Confirmation",
Expand Down
2 changes: 1 addition & 1 deletion Resources/translations/admin.fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sulu_community.blacklist": "RegistrationRule",
"sulu_community.registration_rule": "RegistrationRule",
"sulu_community.pattern": "Expéditeur",
"sulu_community.type": "Type",
"sulu_community.request": "Confirmer",
Expand Down
6 changes: 3 additions & 3 deletions Tests/Functional/Controller/RegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public function testRegistrationRegistrationRuleRequested(): ?RawMessage
$this->markTestSkipped('Skip test for swift mailer.');
}

$this->createBlacklistItem($this->getEntityManager(), '*@sulu.io', RegistrationRule::TYPE_REQUEST);
$this->createRegistrationRuleItem($this->getEntityManager(), '*@sulu.io', RegistrationRuleItem::TYPE_REQUEST);

$crawler = $this->client->request('GET', '/registration');
$this->assertHttpStatusCode(200, $this->client->getResponse());
Expand Down Expand Up @@ -241,7 +241,7 @@ public function testRegistrationRegistrationRuleRequested(): ?RawMessage

public function testRegistrationRuleConfirm(): void
{
$message = $this->testRegistrationRegistrationRuleedRequested();
$message = $this->testRegistrationRegistrationRuleRequested();

$emailCrawler = new Crawler();
$emailCrawler->addContent($message->getHtmlBody());
Expand Down Expand Up @@ -270,7 +270,7 @@ public function testRegistrationRuleConfirm(): void

public function testRegistrationRuleBlocked(): void
{
$message = $this->testRegistrationRegistrationRuleedRequested();
$message = $this->testRegistrationRegistrationRuleRequested();

$emailCrawler = new Crawler();
$emailCrawler->addContent($message->getHtmlBody());
Expand Down

0 comments on commit b88b78e

Please sign in to comment.