diff --git a/unittest/share/test_geo_func_difference.cpp b/unittest/share/test_geo_func_difference.cpp index 5d66e33be..9ac522499 100644 --- a/unittest/share/test_geo_func_difference.cpp +++ b/unittest/share/test_geo_func_difference.cpp @@ -1238,6 +1238,7 @@ int mock_get_tenant_srs_item(ObIAllocator &allocator, uint64_t srs_id, const ObS rs.datum_info.towgs84.value[4] = 2.697; rs.datum_info.towgs84.value[5] = -1.434; rs.datum_info.towgs84.value[6] = -5.38; + rs.authority.is_valid = false; ObSpatialReferenceSystemBase *srs_info; if (OB_FAIL(ObSpatialReferenceSystemBase::create_geographic_srs(&allocator, srs_id, &rs, srs_info))) { diff --git a/unittest/share/test_geo_func_union.cpp b/unittest/share/test_geo_func_union.cpp index 4168f7286..fcd315eaf 100644 --- a/unittest/share/test_geo_func_union.cpp +++ b/unittest/share/test_geo_func_union.cpp @@ -1477,6 +1477,7 @@ int mock_get_tenant_srs_item(ObIAllocator &allocator, uint64_t srs_id, const ObS rs.datum_info.towgs84.value[4] = 2.697; rs.datum_info.towgs84.value[5] = -1.434; rs.datum_info.towgs84.value[6] = -5.38; + rs.authority.is_valid = false; ObSpatialReferenceSystemBase *srs_info; if (OB_FAIL(ObSpatialReferenceSystemBase::create_geographic_srs(&allocator, srs_id, &rs, srs_info))) {