BOM-2453
tests are failings and complaining related objects doest not exists in User table. Create object in test setup to fix it. In another fix article id was giving integrity error. Fixing task test.
This commit is contained in:
@@ -1594,7 +1594,7 @@ class TestLMSAccountRetirementPost(RetirementTestCase, ModuleStoreTestCase):
|
||||
plugin=rp,
|
||||
user=self.test_user,
|
||||
)
|
||||
article = Article.objects.create()
|
||||
article = Article.objects.create(id=rp.article_id)
|
||||
ArticleRevision.objects.create(ip_address="ipaddresss", user=self.test_user, article=article)
|
||||
|
||||
# ManualEnrollmentAudit setup
|
||||
|
||||
Reference in New Issue
Block a user