From ad2bf64228fa485578c825182c5ec657074bb8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Strug?= Date: Mon, 13 May 2024 09:27:12 +0200 Subject: [PATCH] Fixed cli tests --- radix-clis/assets/template/tests/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radix-clis/assets/template/tests/lib.rs b/radix-clis/assets/template/tests/lib.rs index 3775d690df..5bdc32bcd9 100644 --- a/radix-clis/assets/template/tests/lib.rs +++ b/radix-clis/assets/template/tests/lib.rs @@ -52,7 +52,8 @@ fn test_hello() { fn test_hello_with_test_environment() -> Result<(), RuntimeError> { // Arrange let mut env = TestEnvironment::new(); - let package_address = PackageFactory::compile_and_publish(this_package!(), &mut env)?; + let package_address = + PackageFactory::compile_and_publish(this_package!(), &mut env, CompileProfile::Fast)?; let mut hello = Hello::instantiate_hello(package_address, &mut env)?;