Skip to content
Permalink
Browse files

Migration extra shouldn't be setting EnableAPNS

  • Loading branch information...
m0rgen committed Jul 4, 2012
1 parent 530e085 commit bdb519fdffa375487d57e77690eb06b3af717f1b
Showing with 1 addition and 2 deletions.
  1. +0 −1 contrib/migration/calendarmigrator.py
  2. +1 −1 contrib/migration/test/test_migrator.py
@@ -419,7 +419,6 @@ def mergePlist(caldav, carddav, combined):
try:
if caldav["Notifications"]["Services"]["XMPPNotifier"]["Enabled"]:
caldav["Notifications"]["Services"]["XMPPNotifier"]["Enabled"] = False
adminChanges.append(("EnableAPNS", "True"))
except KeyError:
pass

@@ -452,7 +452,7 @@ def test_disableXMPPNotifier(self):
}
newCombined = { }
adminChanges = mergePlist(oldCalDAV, oldCardDAV, newCombined)
self.assertEquals(adminChanges, [("EnableAPNS", "True")])
self.assertEquals(adminChanges, [])
self.assertEquals(newCombined, expected)


0 comments on commit bdb519f

Please sign in to comment.
You can’t perform that action at this time.