NoteCat/tests/unit/HelloWorldTest.php
binaryDiv 297fd317b0
All checks were successful
continuous-integration/drone/push Build is passing
fix unit test
2020-06-28 17:26:46 +02:00

19 lines
352 B
PHP

<?php
declare(strict_types=1);
namespace Tests\Unit;
use NoteCat\HelloWorld;
use PHPUnit\Framework\TestCase;
/**
* @covers NoteCat\HelloWorld
*/
final class HelloWorldTest extends TestCase
{
public function testGetHello(): void
{
$hello = new HelloWorld();
$this->assertSame('Hello world! :3', $hello->getHello());
}
}