File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Component/Notifier/Bridge/Mobyt/Tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function testCreateWithOldTypeQualityParameterNameInDsn()
55
55
$ factory = $ this ->createFactory ();
56
56
57
57
$ 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. ' );
59
59
60
60
$ factory ->create (Dsn::fromString ('mobyt://accountSid:authToken@host.test?from=testFrom&type_quality=N ' ));
61
61
}
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ public function testToStringContainsProperties()
28
28
{
29
29
$ transport = $ this ->createTransport ();
30
30
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 );
32
32
}
33
33
34
34
public function testToStringContainsDifferentMessageTypeIfSet ()
35
35
{
36
36
$ transport = $ this ->createTransport (MobytOptions::MESSAGE_TYPE_QUALITY_HIGH );
37
37
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 );
39
39
}
40
40
41
41
public function testSupportsMessageInterface ()
You can’t perform that action at this time.
0 commit comments