Updated requirements

This commit is contained in:
Ismo Vuorinen
2021-01-20 11:44:34 +02:00
parent 7985d7c777
commit dd33dcbb61
10 changed files with 4335 additions and 1135 deletions

View File

@@ -1,14 +1,27 @@
<?php
namespace Superhelio\Commands;
namespace Superhelio\Commands\Tests;
use Superhelio\Commands\Commands\Reload;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ReloadTest extends \PHPUnit_Framework_TestCase
class ReloadTest extends \Orchestra\Testbench\TestCase
{
public function testReloadTest()
{
$this->assertTrue(true);
self::assertTrue(true);
}
public function test_reload_is_installed()
{
self::assertTrue(class_exists('\\Superhelio\\Commands\\Commands\\Reload'));
}
public function test_reload_has_required_methods_and_properties()
{
$reload = new \ReflectionClass('\\Superhelio\\Commands\\Commands\\Reload');
self::assertTrue($reload->hasMethod('handle'));
self::assertTrue($reload->hasProperty('signature'));
self::assertTrue($reload->hasProperty('description'));
}
}