File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ public static function serviceRespondedWithAnError($response)
1313
1414 public static function statusUpdateTooLong ($ exceededLength )
1515 {
16- return new static ("Couldn't post Notification, because the status message was too long by " .
17- $ exceededLength . " character(s). " );
16+ return new static ("Couldn't post Notification, because the status message was too long by " .$ exceededLength ." character(s). " );
1817 }
1918}
Original file line number Diff line number Diff line change 66use stdClass ;
77use Orchestra \Testbench \TestCase ;
88use Abraham \TwitterOAuth \TwitterOAuth ;
9- use NotificationChannels \Twitter \Twitter ;
109use Illuminate \Notifications \Notification ;
1110use NotificationChannels \Twitter \TwitterChannel ;
1211use NotificationChannels \Twitter \TwitterStatusUpdate ;
@@ -84,7 +83,6 @@ public function it_throws_an_exception_when_it_could_not_send_the_notification()
8483 }
8584}
8685
87-
8886class TestNotifiable
8987{
9088 use \Illuminate \Notifications \Notifiable;
@@ -100,7 +98,6 @@ public function routeNotificationForTwitter()
10098
10199class TestNotification extends Notification
102100{
103-
104101 public function toTwitter ($ notifiable )
105102 {
106103 return new TwitterStatusUpdate ('Laravel Notification Channels are awesome! ' );
Original file line number Diff line number Diff line change @@ -14,4 +14,3 @@ public function it_accepts_an_image_path_when_constructing_a_twitter_image()
1414 $ this ->assertEquals ('/foo/bar/baz.png ' , $ image ->getPath ());
1515 }
1616}
17-
You can’t perform that action at this time.
0 commit comments