Salvage Broken ContactsTests

Bug 3188260

testGroupsTable was failing for a number of reasons. It was querying
for a column called "should_sync" that while shown as part of the
API as Groups.SHOULD_SYNC isn't returned. LegacyApiSupport doesn't
include this column in its sGroupProjectionMap. It also doesn't seem
to include all the columns inherited from SyncConstValue...

Next, it was failing on the update call, because LegacyApiSupport
doesn't update the NAME column. Finally, the delete doesn't seem to
work because the row is marked as deleted (but not actually deleted),
and the query method doesn't seems to check for that flag...

testPhotosTable has similar issues of querying the _SYNC_* columns.
Remove the code that tries to update the peoples table which
supposedly causes the photos table to be updated. LegacyApiSupport
doesn't have code to update the photos table after updating peoples
table.

Change-Id: I2399f8cfac900fe83736e2c832a2d677c29593ae
1 file changed