Skip to content

Commit

Permalink
Removed slug from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrbyers authored and mauromsl committed May 19, 2023
1 parent 65764cb commit f22e9dd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/review/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def setUp(self):
self.article_author_is_owner.authors.add(self.editor)
self.article_author_is_owner.authors.add(self.author)

self.review_form = review_models.ReviewForm(name="A Form", slug="A Slug", intro="i", thanks="t",
self.review_form = review_models.ReviewForm(name="A Form", intro="i", thanks="t",
journal=self.journal_one)
self.review_form.save()

Expand Down
2 changes: 1 addition & 1 deletion src/security/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -4139,7 +4139,7 @@ def setUpTestData(self):
self.article_author_is_owner.authors.add(self.editor)
self.article_author_is_owner.authors.add(self.author)

self.review_form = review_models.ReviewForm(name="A Form", slug="A Slug", intro="i", thanks="t",
self.review_form = review_models.ReviewForm(name="A Form", intro="i", thanks="t",
journal=self.journal_one)
self.review_form.save()

Expand Down
1 change: 0 additions & 1 deletion src/utils/testing/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ def __exit__(self, *exc):
def create_review_form(journal):
return review_models.ReviewForm.objects.create(
name="A Form",
slug="A Slug",
intro="i",
thanks="t",
journal=journal
Expand Down
2 changes: 1 addition & 1 deletion src/utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def setUpTestData(cls):
cls.submitted_article.authors.add(cls.author)
cls.submitted_article.correspondence_author = cls.author

cls.review_form = review_models.ReviewForm.objects.create(name="A Form", slug="A Slug", intro="i", thanks="t",
cls.review_form = review_models.ReviewForm.objects.create(name="A Form", intro="i", thanks="t",
journal=cls.journal_one)


Expand Down

0 comments on commit f22e9dd

Please sign in to comment.