mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-30 09:45:10 +01:00
Added v1.12.0 files
This commit is contained in:
@@ -6,6 +6,7 @@ use App\Exceptions\SpeedtestFailureException;
|
||||
use App\Helpers\SpeedtestHelper;
|
||||
use App\Utils\OoklaTester;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\Mocks\OoklaTesterMocker;
|
||||
use Tests\TestCase;
|
||||
|
||||
class SpeedtestTest extends TestCase
|
||||
@@ -22,17 +23,7 @@ class SpeedtestTest extends TestCase
|
||||
|
||||
$this->speedtestProvider = new OoklaTester();
|
||||
|
||||
$this->output = $this->speedtestProvider->output();
|
||||
}
|
||||
|
||||
/**
|
||||
* A basic unit test example.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testOutputFunction()
|
||||
{
|
||||
$this->assertJson($this->output);
|
||||
$this->output = (new OoklaTesterMocker())->output();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user