mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 17:02:34 +00:00
#591 - tests
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
use App\Facades\SSH;
|
||||
use App\Models\Service;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use Tests\TestCase;
|
||||
|
||||
class PHPTest extends TestCase
|
||||
@ -64,9 +65,7 @@ public function test_install_extension(): void
|
||||
$this->assertContains('gmp', $php->refresh()->type_data['extensions']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider php_ini_data
|
||||
*/
|
||||
#[DataProvider('php_ini_data')]
|
||||
public function test_get_php_ini(string $version, string $type): void
|
||||
{
|
||||
SSH::fake('[PHP ini]');
|
||||
|
Reference in New Issue
Block a user