message: Make sync enabled part of 'object' unit test pass
diff: @@ -913,7 +913,6 @@ TEST_CASE("object") {
  REQUIRE(any_cast<List&&>(obj.get_property_value<util::Any>(d, "object array")).size() == 1);
  }
  -#if 0
  #if REALM_ENABLE_SYNC
  if (!util::EventLoop::has_implementation())
  return;
  @@ -948,8 +947,8 @@ TEST_CASE("object") {
  r1->begin_transaction();
  r2->begin_transaction();
  - auto obj = Object::create(c1, r1, *r1->schema().find("pk after list"), util::Any(v1), false);
  - Object::create(c2, r2, *r2->schema().find("pk after list"), util::Any(v2), false);
  + auto object1 = Object::create(c1, r1, *r1->schema().find("pk after list"), util::Any(v1), false);
  + auto object2 = Object::create(c2, r2, *r2->schema().find("pk after list"), util::Any(v2), false);
  r2->commit_transaction();
  r1->commit_transaction();
  @@ -958,14 +957,13 @@ TEST_CASE("object") {
  return r1->read_group().get_table("class_array target")->size() == 4;
  });
  - // With stable IDs, sync creates the primary key column at index 0.
  - REQUIRE(obj.row().get_int(0) == 7); // pk
  - REQUIRE(obj.row().get_linklist(1)->size() == 2);
  - REQUIRE(obj.row().get_int(2) == 1); // non-default from r1
  - REQUIRE(obj.row().get_int(3) == 2); // non-default from r2
  - REQUIRE(obj.row().get_linklist(4)->size() == 2);
  + Obj obj = object1.obj();
  + REQUIRE(obj.get<Int>("pk") == 7); // pk
  + REQUIRE(obj.get_linklist("array 1").size() == 2);
  + REQUIRE(obj.get<Int>("int 1") == 1); // non-default from r1
  + REQUIRE(obj.get<Int>("int 2") == 2); // non-default from r2
  + REQUIRE(obj.get_linklist("array 2").size() == 2);
  }
  #endif
  -#endif
  }
  