Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bodintsov committed Dec 17, 2024
1 parent 2d70249 commit 90e6ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osf_tests/test_generate_sitemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def preprint_osf_blank(self, project_preprint_osf, user_admin_project_public, pr

@pytest.fixture(autouse=True)
def preprint_osf_version(self, preprint_osf_blank):
return PreprintFactory.create_version(preprint=preprint_osf_blank)
return PreprintFactory.create_version(create_from=preprint_osf_blank, creator=preprint_osf_blank.creator)

@pytest.fixture(autouse=True)
def preprint_withdrawn(self, project_preprint_osf, user_admin_project_public, provider_osf):
Expand Down

0 comments on commit 90e6ce7

Please sign in to comment.