mirror of
https://github.com/superhelio/commands.git
synced 2026-01-26 11:44:01 +00:00
Updated requirements
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user