Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix MockSyncItem key assignment
Detected by CommandHandlerTest::testSyncAdd(), CommandHandlerTest.cpp:286 The test case has most probably started failing when ec17dfc introduced calling newItem->setKey() inside StorageHandler::addItem(). Anyway, according to the documentation of StoragePlugin::addItems(), the implementation was wrong since the initial commit. Also see 7b8c432 (removing the aLocalKey argument -- probably wrong conflict resolution) and c4ce210 (adding aLocalKey again). Relates NEMO#664
- Loading branch information