Sample test
This commit is contained in:
21
test/Test.php
Normal file
21
test/Test.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Brian
|
||||
* Date: 19/12/2018
|
||||
* Time: 21:00
|
||||
*/
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
require '../src/entryPoint.php';
|
||||
|
||||
class Test extends TestCase
|
||||
{
|
||||
public function testShouldReturnMessageID(): void
|
||||
{
|
||||
$this->assertEquals(
|
||||
'0',
|
||||
reply_user('whatever', 0, 'whatever')
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user