@@ -112,7 +112,7 @@ pub async fn init_coffee_test_add_remote() {
112
112
. unwrap ( ) ;
113
113
manager
114
114
. coffee ( )
115
- . install ( "summary" , true , true )
115
+ . install ( "summary" , true , true , None )
116
116
. await
117
117
. unwrap ( ) ;
118
118
@@ -167,13 +167,13 @@ pub async fn test_add_remove_plugins() {
167
167
) ;
168
168
169
169
// Install summary plugin
170
- let result = manager. coffee ( ) . install ( "summary" , true , false ) . await ;
170
+ let result = manager. coffee ( ) . install ( "summary" , true , false , None ) . await ;
171
171
assert ! ( result. is_ok( ) , "{:?}" , result) ;
172
172
173
173
// Install helpme plugin
174
174
manager
175
175
. coffee ( )
176
- . install ( "helpme" , true , false )
176
+ . install ( "helpme" , true , false , None )
177
177
. await
178
178
. unwrap ( ) ;
179
179
@@ -276,7 +276,7 @@ pub async fn test_errors_and_show() {
276
276
) ;
277
277
278
278
// Install summary plugin
279
- let result = manager. coffee ( ) . install ( "summary" , true , false ) . await ;
279
+ let result = manager. coffee ( ) . install ( "summary" , true , false , None ) . await ;
280
280
assert ! ( result. is_ok( ) , "{:?}" , result) ;
281
281
282
282
// Get the README file for a plugin that is not installed
@@ -285,7 +285,7 @@ pub async fn test_errors_and_show() {
285
285
assert ! ( val. starts_with( "# Helpme plugin" ) ) ;
286
286
287
287
// Install a plugin that is not in the repository
288
- let result = manager. coffee ( ) . install ( "x" , true , false ) . await ;
288
+ let result = manager. coffee ( ) . install ( "x" , true , false , None ) . await ;
289
289
assert ! ( result. is_err( ) , "{:?}" , result) ;
290
290
291
291
// Remove helpme plugin
@@ -353,7 +353,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
353
353
// This should install summary plugin for regtest network
354
354
manager
355
355
. coffee ( )
356
- . install ( "summary" , true , true )
356
+ . install ( "summary" , true , true , None )
357
357
. await
358
358
. unwrap ( ) ;
359
359
// Ensure that summary is installed for regtest network
@@ -393,7 +393,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
393
393
// This should install summary plugin for testnet network
394
394
manager
395
395
. coffee ( )
396
- . install ( "summary" , true , true )
396
+ . install ( "summary" , true , true , None )
397
397
. await
398
398
. unwrap ( ) ;
399
399
// Ensure that summary is installed for testnet network
@@ -428,13 +428,13 @@ pub async fn test_double_slash() {
428
428
. unwrap ( ) ;
429
429
430
430
// Install summary plugin
431
- let result = manager. coffee ( ) . install ( "summary" , true , false ) . await ;
431
+ let result = manager. coffee ( ) . install ( "summary" , true , false , None ) . await ;
432
432
assert ! ( result. is_ok( ) , "{:?}" , result) ;
433
433
434
434
// Install helpme plugin
435
435
manager
436
436
. coffee ( )
437
- . install ( "helpme" , true , false )
437
+ . install ( "helpme" , true , false , None )
438
438
. await
439
439
. unwrap ( ) ;
440
440
@@ -493,7 +493,7 @@ pub async fn test_plugin_installation_path() {
493
493
// Install summary plugin for regtest network
494
494
manager
495
495
. coffee ( )
496
- . install ( "summary" , true , false )
496
+ . install ( "summary" , true , false , None )
497
497
. await
498
498
. unwrap ( ) ;
499
499
0 commit comments