Skip to content

Commit 94095f1

Browse files
committed
fix: integration_tests bugs
1 parent cf1703b commit 94095f1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/src/coffee_integration_tests.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub async fn init_coffee_test_add_remote() {
112112
.unwrap();
113113
manager
114114
.coffee()
115-
.install("summary", true, true)
115+
.install("summary", true, true, None)
116116
.await
117117
.unwrap();
118118

@@ -167,13 +167,13 @@ pub async fn test_add_remove_plugins() {
167167
);
168168

169169
// Install summary plugin
170-
let result = manager.coffee().install("summary", true, false).await;
170+
let result = manager.coffee().install("summary", true, false, None).await;
171171
assert!(result.is_ok(), "{:?}", result);
172172

173173
// Install helpme plugin
174174
manager
175175
.coffee()
176-
.install("helpme", true, false)
176+
.install("helpme", true, false, None)
177177
.await
178178
.unwrap();
179179

@@ -276,7 +276,7 @@ pub async fn test_errors_and_show() {
276276
);
277277

278278
// Install summary plugin
279-
let result = manager.coffee().install("summary", true, false).await;
279+
let result = manager.coffee().install("summary", true, false, None).await;
280280
assert!(result.is_ok(), "{:?}", result);
281281

282282
// Get the README file for a plugin that is not installed
@@ -285,7 +285,7 @@ pub async fn test_errors_and_show() {
285285
assert!(val.starts_with("# Helpme plugin"));
286286

287287
// 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;
289289
assert!(result.is_err(), "{:?}", result);
290290

291291
// Remove helpme plugin
@@ -353,7 +353,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
353353
// This should install summary plugin for regtest network
354354
manager
355355
.coffee()
356-
.install("summary", true, true)
356+
.install("summary", true, true, None)
357357
.await
358358
.unwrap();
359359
// Ensure that summary is installed for regtest network
@@ -393,7 +393,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
393393
// This should install summary plugin for testnet network
394394
manager
395395
.coffee()
396-
.install("summary", true, true)
396+
.install("summary", true, true, None)
397397
.await
398398
.unwrap();
399399
// Ensure that summary is installed for testnet network
@@ -428,13 +428,13 @@ pub async fn test_double_slash() {
428428
.unwrap();
429429

430430
// Install summary plugin
431-
let result = manager.coffee().install("summary", true, false).await;
431+
let result = manager.coffee().install("summary", true, false, None).await;
432432
assert!(result.is_ok(), "{:?}", result);
433433

434434
// Install helpme plugin
435435
manager
436436
.coffee()
437-
.install("helpme", true, false)
437+
.install("helpme", true, false, None)
438438
.await
439439
.unwrap();
440440

@@ -493,7 +493,7 @@ pub async fn test_plugin_installation_path() {
493493
// Install summary plugin for regtest network
494494
manager
495495
.coffee()
496-
.install("summary", true, false)
496+
.install("summary", true, false, None)
497497
.await
498498
.unwrap();
499499

0 commit comments

Comments
 (0)