Completed
Push — master ( 778cef...85bb49 )
by Kazi Mainuddin
08:00
created
tests/SmsManagerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
         $this->assertSameSize(config('sms'), $manager->getConfig());
18 18
         $this->assertEquals(config('sms.default'), $manager->getDriver());
19
-        $this->assertSameSize($manager->getSettings(), config('sms.drivers.'.$manager->getDriver()));
19
+        $this->assertSameSize($manager->getSettings(), config('sms.drivers.' . $manager->getDriver()));
20 20
     }
21 21
 
22 22
     public function test_it_wont_accespt_wrong_driver()
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $manager = (new MockSmsManager())->via($gateway);
32 32
 
33 33
         $this->assertEquals($gateway, $manager->getDriver());
34
-        $this->assertSameSize($manager->getSettings(), config('sms.drivers.'.$gateway));
34
+        $this->assertSameSize($manager->getSettings(), config('sms.drivers.' . $gateway));
35 35
     }
36 36
 
37 37
     public function test_it_has_proper_driver_instance()
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     public function test_can_call_directly()
45 45
     {
46 46
         $response = (new MockSmsManager())->via('bar')
47
-            ->send('foo', function ($message) {
47
+            ->send('foo', function($message) {
48 48
                 $message->to(['baz']);
49 49
             });
50 50
         $this->assertInstanceOf(BarDriver::class, $response);
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     public function test_can_call_from_facade()
56 56
     {
57
-        $response = Sms::via('bar')->send('foo', function ($m) {
57
+        $response = Sms::via('bar')->send('foo', function($m) {
58 58
             $m->to('baz');
59 59
         });
60 60
 
Please login to merge, or discard this patch.