22 lines
475 B
PHP
22 lines
475 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Tests\TestCase;
|
|
|
|
class AppVersionTest extends TestCase
|
|
{
|
|
/**
|
|
* Test the version CLI command
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testVersionCommand()
|
|
{
|
|
$response = $this->artisan('speedtest:version')
|
|
->expectsOutput('Speedtest Tracker v' . config('speedtest.version'));
|
|
}
|
|
}
|