@@ -7,10 +7,10 @@ |
||
| 7 | 7 | |
| 8 | 8 | class ObjectTest extends TestCase |
| 9 | 9 | { |
| 10 | - public function testObjectCreation() |
|
| 11 | - { |
|
| 12 | - $slack = new Slack; |
|
| 10 | + public function testObjectCreation() |
|
| 11 | + { |
|
| 12 | + $slack = new Slack; |
|
| 13 | 13 | |
| 14 | - $this->assertInstanceOf(Slack::class, $slack); |
|
| 15 | - } |
|
| 14 | + $this->assertInstanceOf(Slack::class, $slack); |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | */ |
| 13 | 13 | public function testFailedSlackRequestWithEmptyMessage() |
| 14 | 14 | { |
| 15 | - Slack::send(); |
|
| 15 | + Slack::send(); |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | public function testFailedSlackRequestWithWrongEndpoint() |
@@ -25,10 +25,10 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | public function testSuccessfulSlackRequest() |
| 27 | 27 | { |
| 28 | - config(['slack.incoming-webhook' => env('SAMPLE_WEBHOOK')]); |
|
| 28 | + config(['slack.incoming-webhook' => env('SAMPLE_WEBHOOK')]); |
|
| 29 | 29 | |
| 30 | - $response = Slack::send('hi'); |
|
| 30 | + $response = Slack::send('hi'); |
|
| 31 | 31 | |
| 32 | - $this->assertEquals(200, $response->getStatusCode()); |
|
| 32 | + $this->assertEquals(200, $response->getStatusCode()); |
|
| 33 | 33 | } |
| 34 | 34 | } |