Selaa lähdekoodia

refactor(system): 移除自定义Log类文件的单元测试代码

runphp 1 kuukausi sitten
vanhempi
sitoutus
7a66880872
1 muutettua tiedostoa jossa 0 lisäystä ja 31 poistoa
  1. 0 31
      tests/LogTest.php

+ 0 - 31
tests/LogTest.php

@@ -1,31 +0,0 @@
-<?php
-declare(strict_types=1);
-
-namespace SixShop\System;
-
-use PHPUnit\Framework\Attributes\Test;
-use PHPUnit\Framework\TestCase;
-
-class LogTest extends TestCase
-{
-    private Log $log;
-
-    protected function setUp(): void
-    {
-        $this->log = app()->make(Log::class, ['extensionID' => 'system'], true);
-    }
-
-    #[Test]
-    public function debug()
-    {
-        $this->log->debug('test1');
-        \think\facade\Log::debug('test2');
-    }
-
-    #[Test]
-    public function feishu()
-    {
-        $this->log->error('test1');
-        $this->log->error('test2');
-    }
-}