Update unit tests to change non-unique state between models.

Review Request #12426 — Created June 29, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

We've recently uncovered a bug that allows certain models
(LocalSiteProfile, Group, and Repository) to have duplicate
entries containing the same "unique" state when not associated with a
LocalSite.

The fix for that is still in development, but it has uncovered many unit
tests that introduce duplicate state for these objects.

This change fixes up that state, preparing the test suite for the
upcoming fix.

Unit tests all pass with and without the pending change to prevent
duplicate state.

Summary ID
Update unit tests to change non-unique state between models.
We've recently uncovered a bug that allows certain models (`LocalSiteProfile`, `Group`, and `Repository`) to have duplicate entries containing the same "unique" state when not associated with a `LocalSite`. The fix for that is still in development, but it has uncovered many unit tests that introduce duplicate state for these objects. This change fixes up that state, preparing the test suite for the upcoming fix.
0b88443c512028014d51a2f44759cbe862d8d4be
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (dba7bdd)