浏览代码

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,7 +91,7 @@ class UserFactory extends Factory
91 91
 
92 92
                     TransactionFactory::new()
93 93
                         ->count(2000)
94
-                        ->create([
94
+                        ->createQuietly([
95 95
                             'company_id' => $company->id,
96 96
                             'bank_account_id' => $defaultBankAccount?->id,
97 97
                             'created_by' => $user->id,

正在加载...
取消
保存