File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
return [
4
4
5
- 'user_model ' => App \User::class ,
5
+ 'user_model ' => config ( ' auth.providers.users.model ' ) ,
6
6
7
7
'message_model ' => Lexx \ChatMessenger \Models \Message::class,
8
8
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ public function getParticipantFromUser($userId)
328
328
*/
329
329
public function activateAllParticipants ()
330
330
{
331
- $ participants = $ this ->participants ()->withTrashed ()->get ();
331
+ $ participants = $ this ->participants ()->onlyTrashed ()->get ();
332
332
foreach ($ participants as $ participant ) {
333
333
$ participant ->restore ();
334
334
}
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ public function it_should_get_all_thread_participants()
124
124
$ this ->assertCount (4 , $ participantIds );
125
125
$ this ->assertEquals (999 , end ($ participantIds ));
126
126
127
- $ this ->assertInternalType ('array ' , $ participantIds );
127
+ $ this ->assertIsArray ('array ' , $ participantIds );
128
128
}
129
129
130
130
/** @test */
You can’t perform that action at this time.
0 commit comments