mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-03 03:27:21 +01:00
Added unit tests for helpers and tests for commands
This commit is contained in:
23
tests/Feature/Commands/SpeedtestOverviewCommandTest.php
Normal file
23
tests/Feature/Commands/SpeedtestOverviewCommandTest.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Commands;
|
||||
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Foundation\Testing\WithFaker;
|
||||
use Tests\TestCase;
|
||||
|
||||
class SpeedtestOverviewCommandTest extends TestCase
|
||||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
/**
|
||||
* A basic feature test example.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testOverviewCommand()
|
||||
{
|
||||
$this->artisan('speedtest:overview')
|
||||
->assertExitCode(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user