diff --git a/test/DatabaseTest.cc b/test/DatabaseTest.cc index 1dd04c15..39494cf2 100644 --- a/test/DatabaseTest.cc +++ b/test/DatabaseTest.cc @@ -771,7 +771,7 @@ TEST_CASE_METHOD(DatabaseTest, "Legacy - Database change notifications from diff CBLDocument_Release(doc); }; - thread t1([=]() { createDoc(db); }); + thread t1([&]() { createDoc(db); }); thread t2([=]() { createDoc(anotherDB); }); t1.join(); diff --git a/test/QueryTest.cc b/test/QueryTest.cc index cdc4cc35..9e97c5c5 100644 --- a/test/QueryTest.cc +++ b/test/QueryTest.cc @@ -901,8 +901,6 @@ TEST_CASE_METHOD(QueryTest, "Test Joins with Collections", "[Query]") { string queryString; - /* - CBL-6243 SECTION("Use Full Collection Name") { queryString = "SELECT flowers.name, colors.color " "FROM test.flowers " @@ -910,7 +908,6 @@ TEST_CASE_METHOD(QueryTest, "Test Joins with Collections", "[Query]") { "ON flowers.cid = colors.cid " "ORDER BY flowers.name"; } - */ SECTION("Use Alias Name") { queryString = "SELECT f.name, c.color "