Add beat handler

This commit is contained in:
2018-12-21 17:46:29 +00:00
parent 1adf272d2a
commit 022c54ca70
3 changed files with 23 additions and 15 deletions

View File

@@ -1,10 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: Brian
* Date: 19/12/2018
* Time: 21:00
*/
use PHPUnit\Framework\TestCase;
require_once '../src/entryPoint.php';
@@ -14,13 +8,13 @@ class Test extends TestCase
public function testShouldNotNULLMessageID0(): void
{
$this->assertNotNull(
reply_user('whatever', 0, 'whatever')
reply_user(5, 0, 'whatever')
);
}
public function testShouldNULLMessageID1(): void
{
$this->assertNull(
reply_user('whatever', 1, 'whatever')
reply_user(5, 1, 'whatever')
);
}
}