Commit b1b32ed2 authored by MBoretto's avatar MBoretto

syntax

parent 28e6b9f8
...@@ -88,11 +88,6 @@ class MessageTest extends TestCase ...@@ -88,11 +88,6 @@ class MessageTest extends TestCase
$this->assertEquals('some text', $this->message->getText(true)); $this->assertEquals('some text', $this->message->getText(true));
// /commmad\n text // /commmad\n text
//$array = $this->generateMessage("/help\n some text");
////print_r($this->generateMessage('/help@testbot'));
//echo 'value:';
//print_r($array);
$this->message = new Message($this->generateMessage("/help\n some text"), 'testbot'); $this->message = new Message($this->generateMessage("/help\n some text"), 'testbot');
$this->assertEquals('/help', $this->message->getFullCommand()); $this->assertEquals('/help', $this->message->getFullCommand());
$this->assertEquals('help', $this->message->getCommand()); $this->assertEquals('help', $this->message->getCommand());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment