#47 Fix test failure in test case of preventing cyclic build
Merged 8 years ago by qwan. Opened 8 years ago by qwan.
qwan/freshmaker fix-test-failure  into  master

@@ -214,7 +214,7 @@ 

          # Assume we have build of module1 recorded in DB already, it doesn't has

          # any dep_of as it was initial triggered by an event which is not

          # associated with any build in our DB.

-         event = models.Event.create(db.session, "initial_msg_id")

+         event = models.Event.create(db.session, "initial_msg_id", "test", events.TestingEvent)

          models.ArtifactBuild.create(db.session, event, "module1", "module", '123')

          db.session.commit()

  

This is a test fix which I forgot to commit while rebasing the preventing cyclic rebuild patches.

Pull-Request has been merged by qwan

8 years ago