]> git.localhorst.tv Git - alttp.git/blobdiff - tests/Unit/Models/ChatLogTest.php
better quota system for contextual messages
[alttp.git] / tests / Unit / Models / ChatLogTest.php
diff --git a/tests/Unit/Models/ChatLogTest.php b/tests/Unit/Models/ChatLogTest.php
deleted file mode 100644 (file)
index 30b8732..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-
-namespace Tests\Unit\Models;
-
-use App\Models\ChatLog;
-use PHPUnit\Framework\TestCase;
-
-class ChatLogTest extends TestCase {
-
-       public function test_classification() {
-               $this->assertEquals('gg', ChatLog::classify('gg'));
-               $this->assertEquals('gg', ChatLog::classify('GG'));
-               $this->assertEquals('gg', ChatLog::classify('Gg'));
-
-               $this->assertEquals('gl', ChatLog::classify('glhf'));
-               $this->assertEquals('gl', ChatLog::classify('gl & hf'));
-
-               $this->assertEquals('hi', ChatLog::classify('hi'));
-               $this->assertEquals('hi', ChatLog::classify('hallo'));
-               $this->assertNotEquals('hi', ChatLog::classify('hier steht was'));
-
-               $this->assertEquals('hype', ChatLog::classify('122 Hype!'));
-
-               $this->assertEquals('number', ChatLog::classify('13'));
-               $this->assertEquals('number', ChatLog::classify('22'));
-
-               $this->assertEquals('lol', ChatLog::classify('haha'));
-               $this->assertEquals('lol', ChatLog::classify('KEKW'));
-               $this->assertEquals('lol', ChatLog::classify('LUL'));
-
-               $this->assertEquals('o7', ChatLog::classify('o7'));
-
-               $this->assertEquals('pog', ChatLog::classify('Pog'));
-
-               $this->assertEquals('unclassified', ChatLog::classify(''));
-       }
-
-}