Fix ordering of fixtures.

Review Request #12059 — Created Feb. 12, 2022 and submitted

Information

Review Board
release-5.0.x

Reviewers

I had updated things to always add the test_users fixture when using
the test_site fixture due to foreign key relations that were causing
integrity errors. It turns out that the order of those is
important--while including both fixtures fixed the integrity error, the
relations weren't being properly populated. A few tests were relying on
this, so we need to switch which one comes first.

Ran unit tests.

Summary ID
Fix ordering of fixtures.
I had updated things to always add the `test_users` fixture when using the `test_site` fixture due to foreign key relations that were causing integrity errors. It turns out that the order of those is important--while including both fixtures fixed the integrity error, the relations weren't being properly populated. A few tests were relying on this, so we need to switch which one comes first. Testing Done: Ran unit tests.
83cc019b7f34cfa6545ce5c2d6b5736e78e4ae79
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to django-3.2 (4c89f51)
Loading...