| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | public function testPrivateChannelAuthenticationSuccess()  | 
            ||
| 18 |     { | 
            ||
| 19 | $user = $this->getHttpUser();  | 
            ||
| 20 | $id = $user->getKey();  | 
            ||
| 21 |         $response = $this->http('POST', '/broadcasting/auth', [ | 
            ||
| 22 | 'socket_id' => '125200.2991064',  | 
            ||
| 23 | 'channel_name' => 'private-user.' . $id  | 
            ||
| 24 | ]);  | 
            ||
| 25 | $response->assertStatus(200);  | 
            ||
| 26 |         $this->assertArrayHasKey('auth', $this->decodeHttpContent($response->content(), false)); | 
            ||
| 27 | }  | 
            ||
| 39 |