File tree 1 file changed +4
-4
lines changed
readthedocs/proxito/tests
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -575,15 +575,15 @@ def test_flyout_subproject_urls(self):
575
575
r .json ()["versions" ]["active" ][0 ]["urls" ]["documentation" ]
576
576
== "https://project.dev.readthedocs.io/projects/subproject/en/latest/"
577
577
)
578
- assert r .json ()["versions" ]["active" ][1 ]["slug" ] == "v1 "
578
+ assert r .json ()["versions" ]["active" ][1 ]["slug" ] == "v2.3 "
579
579
assert (
580
580
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 /"
582
582
)
583
- assert r .json ()["versions" ]["active" ][2 ]["slug" ] == "v2.3 "
583
+ assert r .json ()["versions" ]["active" ][2 ]["slug" ] == "v1 "
584
584
assert (
585
585
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 /"
587
587
)
588
588
589
589
assert len (r .json ()["projects" ]["translations" ]) == 1
You can’t perform that action at this time.
0 commit comments