瀏覽代碼

Mute events for Transaction creation

3.x
Andrew Wallo 1 年之前
父節點
當前提交
6c5e142300
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      database/factories/UserFactory.php

+ 1
- 1
database/factories/UserFactory.php 查看文件

91
 
91
 
92
                     TransactionFactory::new()
92
                     TransactionFactory::new()
93
                         ->count(2000)
93
                         ->count(2000)
94
-                        ->create([
94
+                        ->createQuietly([
95
                             'company_id' => $company->id,
95
                             'company_id' => $company->id,
96
                             'bank_account_id' => $defaultBankAccount?->id,
96
                             'bank_account_id' => $defaultBankAccount?->id,
97
                             'created_by' => $user->id,
97
                             'created_by' => $user->id,

Loading…
取消
儲存