mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 13:23:04 +01:00
26 lines
520 B
PHP
26 lines
520 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Helpers\SettingsHelper;
|
|
|
|
use App\Helpers\SettingsHelper;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Illuminate\Foundation\Testing\WithFaker;
|
|
use Tests\TestCase;
|
|
|
|
class SettingsSetTest extends TestCase
|
|
{
|
|
use RefreshDatabase;
|
|
|
|
/**
|
|
* A basic feature test example.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testUpdatingSetting()
|
|
{
|
|
$response = SettingsHelper::set('auth', 'hello');
|
|
|
|
$this->assertEquals('hello', $response->value);
|
|
}
|
|
}
|