Replace the log writer class with the new one
This commit is contained in:
parent
8bf030793f
commit
02379b657d
6 changed files with 15 additions and 15 deletions
|
@ -11,7 +11,7 @@ namespace Tests\Unit\Services\DaemonKeys;
|
|||
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Illuminate\Log\Writer;
|
||||
use Psr\Log\LoggerInterface as Writer;
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\DaemonKey;
|
||||
|
@ -57,7 +57,7 @@ class DaemonKeyDeletionServiceTest extends TestCase
|
|||
protected $service;
|
||||
|
||||
/**
|
||||
* @var \Illuminate\Log\Writer|\Mockery\Mock
|
||||
* @var \Psr\Log\LoggerInterface|\Mockery\Mock
|
||||
*/
|
||||
protected $writer;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Tests\Unit\Services\Servers;
|
|||
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Illuminate\Log\Writer;
|
||||
use Psr\Log\LoggerInterface as Writer;
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Tests\Traits\MocksRequestException;
|
||||
|
@ -45,7 +45,7 @@ class ServerDeletionServiceTest extends TestCase
|
|||
private $repository;
|
||||
|
||||
/**
|
||||
* @var \Illuminate\Log\Writer|\Mockery\Mock
|
||||
* @var \Psr\Log\LoggerInterface|\Mockery\Mock
|
||||
*/
|
||||
private $writer;
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace Tests\Unit\Services\Servers;
|
|||
use Exception;
|
||||
use Mockery as m;
|
||||
use Tests\TestCase;
|
||||
use Illuminate\Log\Writer;
|
||||
use Psr\Log\LoggerInterface as Writer;
|
||||
use GuzzleHttp\Psr7\Response;
|
||||
use Pterodactyl\Models\Server;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
|
@ -55,7 +55,7 @@ class SuspensionServiceTest extends TestCase
|
|||
protected $service;
|
||||
|
||||
/**
|
||||
* @var \Illuminate\Log\Writer
|
||||
* @var \Psr\Log\LoggerInterface
|
||||
*/
|
||||
protected $writer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue