Actions
Refactor #19463
closedDisable audit creation in factory_girl-created models in tests
Description
factory_girl creates models in tests with a regular save! call, which results in audit entries being created for every factory-based fixture. Disabling auditing while creating these would save on writes to the database in the test environment, as they're pretty much entirely unused.
The few tests that do rely on factory_girl objects having corresponding audit entries can have them manually enabled (opt-in).
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4504 added
Updated by Dominic Cleal over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ec9c2bcf713abb700854953a3e3c700225aeb31c.
Updated by Ivan Necas over 7 years ago
- Related to Bug #19525: Tests are failling with foreman 1.16 develop on job invocatoin composer added
Updated by Marek Hulán about 7 years ago
- Translation missing: en.field_release set to 240
Actions