Skip to content

Commit

Permalink
Merge pull request #253 from cybercog/fix/tests-custom-models-extends
Browse files Browse the repository at this point in the history
Fix custom classes parents in Tests
  • Loading branch information
cmgmyr authored Sep 18, 2017
2 parents c90466e + 219f928 commit 6fc7658
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Stubs/Models/CustomParticipant.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Cmgmyr\Messenger\Test\Stubs\Models;

use Cmgmyr\Messenger\Models\Message;
use Cmgmyr\Messenger\Models\Participant;

class CustomParticipant extends Message
class CustomParticipant extends Participant
{
protected $table = 'custom_participants';
}
4 changes: 2 additions & 2 deletions tests/Stubs/Models/CustomThread.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Cmgmyr\Messenger\Test\Stubs\Models;

use Cmgmyr\Messenger\Models\Message;
use Cmgmyr\Messenger\Models\Thread;

class CustomThread extends Message
class CustomThread extends Thread
{
protected $table = 'custom_threads';
}

0 comments on commit 6fc7658

Please sign in to comment.