Skip to content

Commit

Permalink
fix: Function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
notz committed Jun 14, 2024
1 parent 1acdc23 commit 3a3de39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Functional/EventSubscriber/CallbackSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CallbackSubscriberTest extends MauticMysqlTestCase
{
protected function setUp(): void
{
if ('testPostalTransportNotConfigured' !== $this->name()) {
if ('testPostalTransportNotConfigured' !== $this->getName()) {
$this->configParams['mailer_dsn'] = 'mautic+smtp://:user@host:25';
}

Expand All @@ -40,8 +40,8 @@ public function testPostalCallbackProcessWithMessageFailed(): void
$now = new \DateTime();
$nowFormatted = $now->format(DateTimeHelper::FORMAT_DB);

$this->client()->request(Request::METHOD_POST, '/mailer/callback', $parameters);
$response = $this->client()->getResponse();
$this->client->request(Request::METHOD_POST, '/mailer/callback', $parameters);
$response = $this->client->getResponse();
Assert::assertSame('Callback processed', $response->getContent());
Assert::assertSame(200, $response->getStatusCode());

Expand Down

0 comments on commit 3a3de39

Please sign in to comment.