From 086d719dc61d2c531e0b9fa51678b8e2f34dafdb Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Fri, 15 Nov 2024 17:22:24 +0200 Subject: Improve tests. --- tests/OutputDriverTest.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/OutputDriverTest.php') diff --git a/tests/OutputDriverTest.php b/tests/OutputDriverTest.php index e235cd9..3fa5ae2 100644 --- a/tests/OutputDriverTest.php +++ b/tests/OutputDriverTest.php @@ -9,9 +9,6 @@ use PHPUnit\Framework\TestCase; class OutputDriverTest extends TestCase { - /** - * @throws \Exception - */ public function testEmergency(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -20,9 +17,6 @@ class OutputDriverTest extends TestCase $loggr->emergency('test'); } - /** - * @throws \Exception - */ public function testAlert(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -31,9 +25,6 @@ class OutputDriverTest extends TestCase $loggr->alert('test'); } - /** - * @throws \Exception - */ public function testCritical(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -42,9 +33,6 @@ class OutputDriverTest extends TestCase $loggr->critical('test'); } - /** - * @throws \Exception - */ public function testError(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -53,9 +41,6 @@ class OutputDriverTest extends TestCase $loggr->error('test'); } - /** - * @throws \Exception - */ public function testWarning(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -64,9 +49,6 @@ class OutputDriverTest extends TestCase $loggr->warning('test'); } - /** - * @throws \Exception - */ public function testNotice(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -75,9 +57,6 @@ class OutputDriverTest extends TestCase $loggr->notice('test'); } - /** - * @throws \Exception - */ public function testInfo(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); @@ -86,9 +65,6 @@ class OutputDriverTest extends TestCase $loggr->info('test'); } - /** - * @throws \Exception - */ public function testDebug(): void { $date = (new DateTime)->format('Y-m-d H:i:s'); -- cgit v1.2.3