test(supplier): isolate subject_code test (DatabaseTransactions+SharesSupplierPdo)

This commit is contained in:
Дмитрий
2026-05-20 10:48:32 +03:00
parent 82c0aeef41
commit 79d3f2ef3d
@@ -4,6 +4,10 @@ declare(strict_types=1);
use App\Models\SupplierProject;
use Illuminate\Database\QueryException;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Tests\Concerns\SharesSupplierPdo;
uses(DatabaseTransactions::class, SharesSupplierPdo::class);
it('allows same (platform, unique_key) with different subject_code', function (): void {
SupplierProject::query()->create([