This commit is contained in:
Saeed Vaziry
2025-06-04 19:04:02 +02:00
parent 35894003f5
commit f8f8d57fe2
31 changed files with 165 additions and 171 deletions

View File

@ -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]');