Skip to content

Commit 4b1dcbc

Browse files
committed
Fix tests
1 parent b9710ff commit 4b1dcbc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readthedocs/proxito/tests/test_hosting.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -575,15 +575,15 @@ def test_flyout_subproject_urls(self):
575575
r.json()["versions"]["active"][0]["urls"]["documentation"]
576576
== "https://project.dev.readthedocs.io/projects/subproject/en/latest/"
577577
)
578-
assert r.json()["versions"]["active"][1]["slug"] == "v1"
578+
assert r.json()["versions"]["active"][1]["slug"] == "v2.3"
579579
assert (
580580
r.json()["versions"]["active"][1]["urls"]["documentation"]
581-
== "https://project.dev.readthedocs.io/projects/subproject/en/v1/"
581+
== "https://project.dev.readthedocs.io/projects/subproject/en/v2.3/"
582582
)
583-
assert r.json()["versions"]["active"][2]["slug"] == "v2.3"
583+
assert r.json()["versions"]["active"][2]["slug"] == "v1"
584584
assert (
585585
r.json()["versions"]["active"][2]["urls"]["documentation"]
586-
== "https://project.dev.readthedocs.io/projects/subproject/en/v2.3/"
586+
== "https://project.dev.readthedocs.io/projects/subproject/en/v1/"
587587
)
588588

589589
assert len(r.json()["projects"]["translations"]) == 1

0 commit comments

Comments
 (0)