Skip to content

Commit

Permalink
Tests: set privacy level to public explicitly (#11375)
Browse files Browse the repository at this point in the history
* Tests: set privacy level to public explicitly

Fixes tests on .com

* Actually update the privacy level, damn copilot
  • Loading branch information
stsewd authored May 30, 2024
1 parent 7caede6 commit 18f10b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion readthedocs/proxito/tests/test_hosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,17 @@ def test_flyout_versions(self):
)

def test_flyout_translations(self):
fixture.get(
translation_ja = fixture.get(
Project,
slug="translation",
main_language_project=self.project,
language="ja",
)
translation_ja.versions.update(
built=True,
active=True,
privacy_level=PUBLIC,
)

r = self.client.get(
reverse("proxito_readthedocs_docs_addons"),
Expand Down

0 comments on commit 18f10b9

Please sign in to comment.