@@ -245,6 +245,7 @@ async fn test_ptb_publish_and_complex_arg_resolution() -> Result<(), anyhow::Err
245
245
package_path : package_path. clone ( ) ,
246
246
build_config,
247
247
skip_dependency_verification : false ,
248
+ verify_deps : true ,
248
249
with_unpublished_dependencies : false ,
249
250
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
250
251
}
@@ -524,6 +525,7 @@ async fn test_move_call_args_linter_command() -> Result<(), anyhow::Error> {
524
525
build_config,
525
526
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
526
527
skip_dependency_verification : false ,
528
+ verify_deps : true ,
527
529
with_unpublished_dependencies : false ,
528
530
}
529
531
. execute ( context)
@@ -788,6 +790,7 @@ async fn test_package_publish_command() -> Result<(), anyhow::Error> {
788
790
build_config,
789
791
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
790
792
skip_dependency_verification : false ,
793
+ verify_deps : true ,
791
794
with_unpublished_dependencies : false ,
792
795
}
793
796
. execute ( context)
@@ -858,6 +861,7 @@ async fn test_package_management_on_publish_command() -> Result<(), anyhow::Erro
858
861
build_config : build_config. clone ( ) ,
859
862
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
860
863
skip_dependency_verification : false ,
864
+ verify_deps : true ,
861
865
with_unpublished_dependencies : false ,
862
866
}
863
867
. execute ( context)
@@ -928,6 +932,7 @@ async fn test_delete_shared_object() -> Result<(), anyhow::Error> {
928
932
build_config,
929
933
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
930
934
skip_dependency_verification : false ,
935
+ verify_deps : true ,
931
936
with_unpublished_dependencies : false ,
932
937
}
933
938
. execute ( context)
@@ -1032,6 +1037,7 @@ async fn test_receive_argument() -> Result<(), anyhow::Error> {
1032
1037
build_config,
1033
1038
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1034
1039
skip_dependency_verification : false ,
1040
+ verify_deps : true ,
1035
1041
with_unpublished_dependencies : false ,
1036
1042
}
1037
1043
. execute ( context)
@@ -1156,6 +1162,7 @@ async fn test_receive_argument_by_immut_ref() -> Result<(), anyhow::Error> {
1156
1162
build_config,
1157
1163
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1158
1164
skip_dependency_verification : false ,
1165
+ verify_deps : true ,
1159
1166
with_unpublished_dependencies : false ,
1160
1167
}
1161
1168
. execute ( context)
@@ -1280,6 +1287,7 @@ async fn test_receive_argument_by_mut_ref() -> Result<(), anyhow::Error> {
1280
1287
build_config,
1281
1288
skip_dependency_verification : false ,
1282
1289
with_unpublished_dependencies : false ,
1290
+ verify_deps : true ,
1283
1291
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1284
1292
}
1285
1293
. execute ( context)
@@ -1406,6 +1414,7 @@ async fn test_package_publish_command_with_unpublished_dependency_succeeds(
1406
1414
build_config,
1407
1415
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1408
1416
skip_dependency_verification : false ,
1417
+ verify_deps : true ,
1409
1418
with_unpublished_dependencies,
1410
1419
}
1411
1420
. execute ( context)
@@ -1475,6 +1484,7 @@ async fn test_package_publish_command_with_unpublished_dependency_fails(
1475
1484
build_config,
1476
1485
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1477
1486
skip_dependency_verification : false ,
1487
+ verify_deps : true ,
1478
1488
with_unpublished_dependencies,
1479
1489
}
1480
1490
. execute ( context)
@@ -1518,6 +1528,7 @@ async fn test_package_publish_command_non_zero_unpublished_dep_fails() -> Result
1518
1528
build_config,
1519
1529
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1520
1530
skip_dependency_verification : false ,
1531
+ verify_deps : true ,
1521
1532
with_unpublished_dependencies,
1522
1533
}
1523
1534
. execute ( context)
@@ -1570,6 +1581,7 @@ async fn test_package_publish_command_failure_invalid() -> Result<(), anyhow::Er
1570
1581
build_config,
1571
1582
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1572
1583
skip_dependency_verification : false ,
1584
+ verify_deps : true ,
1573
1585
with_unpublished_dependencies,
1574
1586
}
1575
1587
. execute ( context)
@@ -1609,6 +1621,7 @@ async fn test_package_publish_nonexistent_dependency() -> Result<(), anyhow::Err
1609
1621
build_config,
1610
1622
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1611
1623
skip_dependency_verification : false ,
1624
+ verify_deps : true ,
1612
1625
with_unpublished_dependencies : false ,
1613
1626
}
1614
1627
. execute ( context)
@@ -1649,6 +1662,7 @@ async fn test_package_publish_test_flag() -> Result<(), anyhow::Error> {
1649
1662
build_config,
1650
1663
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1651
1664
skip_dependency_verification : false ,
1665
+ verify_deps : true ,
1652
1666
with_unpublished_dependencies : false ,
1653
1667
}
1654
1668
. execute ( context)
@@ -1701,6 +1715,7 @@ async fn test_package_upgrade_command() -> Result<(), anyhow::Error> {
1701
1715
build_config,
1702
1716
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1703
1717
skip_dependency_verification : false ,
1718
+ verify_deps : true ,
1704
1719
with_unpublished_dependencies : false ,
1705
1720
}
1706
1721
. execute ( context)
@@ -1772,6 +1787,7 @@ async fn test_package_upgrade_command() -> Result<(), anyhow::Error> {
1772
1787
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1773
1788
verify_compatibility : true ,
1774
1789
skip_dependency_verification : false ,
1790
+ verify_deps : true ,
1775
1791
with_unpublished_dependencies : false ,
1776
1792
}
1777
1793
. execute ( context)
@@ -1837,6 +1853,7 @@ async fn test_package_management_on_upgrade_command() -> Result<(), anyhow::Erro
1837
1853
build_config : build_config. clone ( ) ,
1838
1854
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1839
1855
skip_dependency_verification : false ,
1856
+ verify_deps : true ,
1840
1857
with_unpublished_dependencies : false ,
1841
1858
}
1842
1859
. execute ( context)
@@ -1891,6 +1908,7 @@ async fn test_package_management_on_upgrade_command() -> Result<(), anyhow::Erro
1891
1908
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1892
1909
verify_compatibility : true ,
1893
1910
skip_dependency_verification : false ,
1911
+ verify_deps : true ,
1894
1912
with_unpublished_dependencies : false ,
1895
1913
}
1896
1914
. execute ( context)
@@ -1971,6 +1989,7 @@ async fn test_package_management_on_upgrade_command_conflict() -> Result<(), any
1971
1989
build_config : build_config_publish. clone ( ) ,
1972
1990
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
1973
1991
skip_dependency_verification : false ,
1992
+ verify_deps : true ,
1974
1993
with_unpublished_dependencies : false ,
1975
1994
}
1976
1995
. execute ( context)
@@ -2039,6 +2058,7 @@ async fn test_package_management_on_upgrade_command_conflict() -> Result<(), any
2039
2058
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
2040
2059
verify_compatibility : true ,
2041
2060
skip_dependency_verification : false ,
2061
+ verify_deps : true ,
2042
2062
with_unpublished_dependencies : false ,
2043
2063
}
2044
2064
. execute ( context)
@@ -3808,6 +3828,7 @@ async fn test_clever_errors() -> Result<(), anyhow::Error> {
3808
3828
package_path : package_path. clone ( ) ,
3809
3829
build_config,
3810
3830
skip_dependency_verification : false ,
3831
+ verify_deps : true ,
3811
3832
with_unpublished_dependencies : false ,
3812
3833
opts : OptsWithGas :: for_testing ( Some ( gas_obj_id) , rgp * TEST_ONLY_GAS_UNIT_FOR_PUBLISH ) ,
3813
3834
}
0 commit comments