Assign crumbling wall dest for sake of postgres

This commit is contained in:
Griatch 2019-03-23 16:46:31 +01:00
parent 2f21f6a0f6
commit fa3588be20
2 changed files with 1 additions and 2 deletions

View file

@ -910,6 +910,7 @@ class TestTutorialWorldObjects(TwistedTestCase, CommandTest):
@patch("evennia.scripts.taskhandler.deferLater", mockdeferLater)
def test_crumblingwall(self):
wall = create_object(tutobjects.CrumblingWall, key="wall", location=self.room1)
wall.db.destination = self.room2.dbref
self.assertFalse(wall.db.button_exposed)
self.assertFalse(wall.db.exit_open)
wall.db.root_pos = {"yellow": 0, "green": 0, "red": 0, "blue": 0}