From adba5c9374c160fdfeaa46a1c9ad07c312112aa5 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 1 Apr 2013 14:47:17 -0700 Subject: [PATCH] Clear fake gtasks token after unit test --- .../src/com/todoroo/astrid/service/UpdateMessageServiceTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/src/com/todoroo/astrid/service/UpdateMessageServiceTest.java b/tests/src/com/todoroo/astrid/service/UpdateMessageServiceTest.java index e52313b5d..375c1be70 100644 --- a/tests/src/com/todoroo/astrid/service/UpdateMessageServiceTest.java +++ b/tests/src/com/todoroo/astrid/service/UpdateMessageServiceTest.java @@ -163,6 +163,7 @@ public class UpdateMessageServiceTest extends DatabaseTestCase { return "[{message:'gtasks man',plugin:'gtasks'}]"; } }.processUpdates(); + gtasksPreferenceService.setToken(null); } public void testUpdateWithInternalPluginOff() {