File tree 1 file changed +2
-2
lines changed
tests/src/com/todoroo/astrid/sync
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11
11
import com .todoroo .astrid .actfm .sync .messages .NameMaps ;
12
12
import com .todoroo .astrid .actfm .sync .messages .ReplayOutstandingEntries ;
13
13
import com .todoroo .astrid .actfm .sync .messages .ServerToClientMessage ;
14
- import com .todoroo .astrid .actfm .sync .messages .UserMigrated ;
15
14
import com .todoroo .astrid .data .RemoteModel ;
16
15
import com .todoroo .astrid .data .SyncFlags ;
17
16
import com .todoroo .astrid .data .TagData ;
@@ -160,7 +159,8 @@ public void testUserMigratedUpdatesUserIds() {
160
159
fail ("JSONException" );
161
160
}
162
161
163
- new UserMigrated (userMigrated ).processMessage (null );
162
+ ServerToClientMessage message = ServerToClientMessage .instantiateMessage (userMigrated );
163
+ message .processMessage (null );
164
164
165
165
t = taskDao .fetch (t .getId (), Task .USER_ID );
166
166
td = tagDataDao .fetch (td .getId (), TagData .USER_ID );
You can’t perform that action at this time.
0 commit comments