@@ -45,14 +45,14 @@ public function it_can_send_a_sms_message()
45
45
$ this ->notification ->shouldReceive ('toTwilio ' )->andReturn ($ message );
46
46
47
47
$ config = new TwilioConfig ([
48
- 'from ' => '+31612345678 '
48
+ 'from ' => '+31612345678 ' ,
49
49
]);
50
50
$ twilio = new Twilio ($ this ->twilioService , $ config );
51
51
$ channel = new TwilioChannel ($ twilio , $ this ->events );
52
52
53
53
$ this ->smsMessageWillBeSentToTwilioWith ('+22222222222 ' , [
54
54
'from ' => '+31612345678 ' ,
55
- 'body ' => 'Message text '
55
+ 'body ' => 'Message text ' ,
56
56
]);
57
57
58
58
$ channel ->send (new NotifiableWithAttribute (), $ this ->notification );
@@ -66,15 +66,15 @@ public function it_can_send_a_sms_message_using_service()
66
66
67
67
$ config = new TwilioConfig ([
68
68
'from ' => '+31612345678 ' ,
69
- 'sms_service_sid ' => '0123456789 '
69
+ 'sms_service_sid ' => '0123456789 ' ,
70
70
]);
71
71
$ twilio = new Twilio ($ this ->twilioService , $ config );
72
72
$ channel = new TwilioChannel ($ twilio , $ this ->events );
73
73
74
74
$ this ->smsMessageWillBeSentToTwilioWith ('+22222222222 ' , [
75
75
'from ' => '+31612345678 ' ,
76
76
'body ' => 'Message text ' ,
77
- 'messagingServiceSid ' => '0123456789 '
77
+ 'messagingServiceSid ' => '0123456789 ' ,
78
78
]);
79
79
80
80
$ channel ->send (new NotifiableWithAttribute (), $ this ->notification );
@@ -88,14 +88,14 @@ public function it_can_send_a_sms_message_using_alphanumeric_sender()
88
88
89
89
$ config = new TwilioConfig ([
90
90
'from ' => '+31612345678 ' ,
91
- 'alphanumeric_sender ' => 'TwilioTest '
91
+ 'alphanumeric_sender ' => 'TwilioTest ' ,
92
92
]);
93
93
$ twilio = new Twilio ($ this ->twilioService , $ config );
94
94
$ channel = new TwilioChannel ($ twilio , $ this ->events );
95
95
96
96
$ this ->smsMessageWillBeSentToTwilioWith ('+33333333333 ' , [
97
97
'from ' => 'TwilioTest ' ,
98
- 'body ' => 'Message text '
98
+ 'body ' => 'Message text ' ,
99
99
]);
100
100
101
101
$ channel ->send (new NotifiableWithAlphanumericSender (), $ this ->notification );
@@ -108,13 +108,13 @@ public function it_can_make_a_call()
108
108
$ this ->notification ->shouldReceive ('toTwilio ' )->andReturn ($ message );
109
109
110
110
$ config = new TwilioConfig ([
111
- 'from ' => '+31612345678 '
111
+ 'from ' => '+31612345678 ' ,
112
112
]);
113
113
$ twilio = new Twilio ($ this ->twilioService , $ config );
114
114
$ channel = new TwilioChannel ($ twilio , $ this ->events );
115
115
116
116
$ this ->callWillBeSentToTwilioWith ('+22222222222 ' , '+31612345678 ' , [
117
- 'url ' => 'http://example.com '
117
+ 'url ' => 'http://example.com ' ,
118
118
]);
119
119
120
120
$ channel ->send (new NotifiableWithAttribute (), $ this ->notification );
0 commit comments