mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix nfo_import missing log
This commit is contained in:
@@ -12,8 +12,10 @@ use Illuminate\Contracts\Console\Kernel;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use PDO;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Tests\TestCase;
|
||||
|
||||
final class NfoImportServiceTest extends TestCase
|
||||
@@ -129,6 +131,11 @@ final class NfoImportServiceTest extends TestCase
|
||||
$this->assertFileExists($nfoPath);
|
||||
}
|
||||
|
||||
public function test_nfo_import_log_channel_is_available(): void
|
||||
{
|
||||
$this->assertInstanceOf(LoggerInterface::class, Log::channel('nfo_import'));
|
||||
}
|
||||
|
||||
public function test_it_deletes_a_successfully_imported_nfo_when_requested(): void
|
||||
{
|
||||
$guid = '22222222-2222-4222-8222-222222222222';
|
||||
|
||||
Reference in New Issue
Block a user