Ensure Repository.scmtool_id is always set.
Review Request #12334 — Created June 3, 2022 and submitted
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.
Summary | ID |
---|---|
4dc10d02b52cdbdcb12de584b886f7922b7ea240 |
- Commits:
-
Summary ID c7612e0bd34d0909009f681947dd80ac6a1fe505 781797eadc88e90ac8d5ad5ec50e2a59d3b16e0c - Diff:
-
Revision 2 (+556 -314)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 781797eadc88e90ac8d5ad5ec50e2a59d3b16e0c 4dc10d02b52cdbdcb12de584b886f7922b7ea240 - Diff:
-
Revision 3 (+556 -314)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.