Ensure Repository.scmtool_id is always set.
Review Request #12334 — Created June 3, 2022 and submitted — Latest diff uploaded
This change updates code which is instantiating repository objects
(almost entirely in unit tests) to ensure that the newscmtool_id
field is always properly set. Many of these were places where the unit
tests were instantiating theRepository
model directly, instead of
usingcreate_repository
. I've fixed those up to use the helper
instead.
Ran unit tests.