commit compras2 2911
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-29 10:48:22 +02:00
parent 448948a487
commit 7da8d6c87a
64 changed files with 2538 additions and 288 deletions
+5
View File
@@ -19,6 +19,11 @@ final class CapitalRegister
{
$db = DB::connection();
if (app(StandaloneRuntime::class)->enabled()) {
return app(StandaloneRuntime::class)->feature('capital-register', $db)
&& $db->getSchemaBuilder()->hasTable('supply_records') && $db->getSchemaBuilder()->hasTable('equipment');
}
return config('capital-register.qa_enabled') === true && app()->environment('testing')
&& (($db->getDriverName() === 'sqlite' && $db->getDatabaseName() === ':memory:')
|| ($db->getDriverName() === 'pgsql' && $db->getConfig('host') === '127.0.0.1'