Skip to content

Commit 4c5f459

Browse files
committed
fix
1 parent ff0a1d6 commit 4c5f459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Notifier/Bridge/Mobyt/Tests/MobytTransportFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testCreateWithOldTypeQualityParameterNameInDsn()
5555
$factory = $this->createFactory();
5656

5757
$this->expectException(IncompleteDsnException::class);
58-
$this->expectExceptionMessage('Mobyt DSN has changed since 5.3, use "message_quality" instead of "type_quality" parameter.');
58+
$this->expectExceptionMessage('Mobyt DSN has changed since 5.3, use "message_type" instead of "type_quality" parameter.');
5959

6060
$factory->create(Dsn::fromString('mobyt://accountSid:authToken@host.test?from=testFrom&type_quality=N'));
6161
}

src/Symfony/Component/Notifier/Bridge/Mobyt/Tests/MobytTransportTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ public function testToStringContainsProperties()
2828
{
2929
$transport = $this->createTransport();
3030

31-
$this->assertSame('mobyt://host.test?from=sender&message_type=LL', (string) $transport);
31+
$this->assertSame('mobyt://host.test?from=from&message_type=LL', (string) $transport);
3232
}
3333

3434
public function testToStringContainsDifferentMessageTypeIfSet()
3535
{
3636
$transport = $this->createTransport(MobytOptions::MESSAGE_TYPE_QUALITY_HIGH);
3737

38-
$this->assertSame('mobyt://host.test?from=sender&message_type=N', (string) $transport);
38+
$this->assertSame('mobyt://host.test?from=from&message_type=N', (string) $transport);
3939
}
4040

4141
public function testSupportsMessageInterface()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy