Commits

Thomas Waldmann committed 4c1af83

indexing tests: add mtime meta at another place where it is needed now

  • Participants
  • Parent commits 4cbb5eb

Comments (0)

Files changed (1)

middleware/_tests/test_indexing.py

         revids = []
         item_name = u'foo'
         item = self.imw[item_name]
-        rev = item.create_revision(dict(name=item_name), StringIO('bar'))
+        rev = item.create_revision(dict(name=item_name, mtime=1), StringIO('bar'))
         revids.append(rev.revid)
-        rev = item.create_revision(dict(name=item_name), StringIO('baz'))
+        rev = item.create_revision(dict(name=item_name, mtime=2), StringIO('baz'))
         revids.append(rev.revid)
         # destroy item:
         item.destroy_item()