mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-02 11:07:20 +01:00
Used a mock ooklatester in tests
Speed up test suite
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Tests\Unit\Helpers\SpeedtestHelper;
|
||||
|
||||
use App\Utils\OoklaTester;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Tests\Mocks\OoklaTesterMocker;
|
||||
|
||||
class CheckOutputTest extends TestCase
|
||||
{
|
||||
@@ -12,6 +13,7 @@ class CheckOutputTest extends TestCase
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->speedtestProvider = new OoklaTester();
|
||||
$this->mocker = new OoklaTesterMocker();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user