provisionUserFailHook, when non-nil, triggers a simulated failure during the user-creation step of Provision. The fake uses it to exercise rollback semantics — see TestProvisionTransactionRollsBack. Set to a non-nil error to fail; set to nil (default) for success. Real prod failure modes (DB write
(err error)
| 92 | // Auto-create org if needed (mirrors production behavior) |
| 93 | if _, ok := s.orgs[orgID]; !ok { |
| 94 | s.orgs[orgID] = &configstore.Org{ |
| 95 | Name: orgID, |
| 96 | DatabaseName: databaseName, |
| 97 | MaxVCPUs: defaultProvisionedOrgMaxVCPUs, |
no outgoing calls
no test coverage detected