Skip to content

Commit a9823f8

Browse files
committed
fix(tests): use a fork of plugins remote repo
To fix our CI, this commit switches to a fork of `lightningd` `plugins` remote repository where `summary` and `helpme` plugins were still not deprecated Signed-off-by: Tarek <[email protected]>
1 parent f9f98d3 commit a9823f8

3 files changed

+11
-11
lines changed

tests/src/coffee_httpd_integration_tests.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub async fn httpd_init_add_remote() {
2525
// Define the request body to be sent to the /remote/add endpoint
2626
let remote_add_request = RemoteAdd {
2727
repository_name: "lightningd".to_string(),
28-
repository_url: "https://github.com/lightningd/plugins.git".to_string(),
28+
repository_url: "https://github.com/tareknaser/plugins.git".to_string(),
2929
};
3030

3131
// Send the request to add a remote repository
@@ -87,7 +87,7 @@ pub async fn httpd_add_remove_plugins() {
8787
// Define the request body to be sent to the /remote/add endpoint
8888
let remote_add_request = RemoteAdd {
8989
repository_name: "lightningd".to_string(),
90-
repository_url: "https://github.com/lightningd/plugins.git".to_string(),
90+
repository_url: "https://github.com/tareknaser/plugins.git".to_string(),
9191
};
9292

9393
let response = client
@@ -238,7 +238,7 @@ pub async fn httpd_search_list_plugins() {
238238
// Define the request body to be sent to the /remote/add endpoint
239239
let remote_add_request = RemoteAdd {
240240
repository_name: "lightningd".to_string(),
241-
repository_url: "https://github.com/lightningd/plugins.git".to_string(),
241+
repository_url: "https://github.com/tareknaser/plugins.git".to_string(),
242242
};
243243

244244
let response = client

tests/src/coffee_integration_tests.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub async fn init_coffee_test_add_remote() {
107107

108108
manager
109109
.coffee()
110-
.add_remote("lightningd", "https://github.com/lightningd/plugins.git")
110+
.add_remote("lightningd", "https://github.com/tareknaser/plugins.git")
111111
.await
112112
.unwrap();
113113
manager
@@ -138,7 +138,7 @@ pub async fn test_add_remove_plugins() {
138138
manager.coffee().setup(&lightning_dir).await.unwrap();
139139
// Add lightningd remote repository
140140
let repo_name = "lightningd";
141-
let repo_url = "https://github.com/lightningd/plugins.git";
141+
let repo_url = "https://github.com/tareknaser/plugins.git";
142142
manager
143143
.coffee()
144144
.add_remote(repo_name, repo_url)
@@ -257,7 +257,7 @@ pub async fn test_errors_and_show() {
257257
manager.coffee().setup(&lightning_dir).await.unwrap();
258258
// Add lightningd remote repository
259259
let repo_name = "lightningd";
260-
let repo_url = "https://github.com/lightningd/plugins.git";
260+
let repo_url = "https://github.com/tareknaser/plugins.git";
261261
manager
262262
.coffee()
263263
.add_remote(repo_name, repo_url)
@@ -346,7 +346,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
346346
// Add lightningd remote repository
347347
manager
348348
.coffee()
349-
.add_remote("lightningd", "https://github.com/lightningd/plugins.git")
349+
.add_remote("lightningd", "https://github.com/tareknaser/plugins.git")
350350
.await
351351
.unwrap();
352352
// Install summary plugin
@@ -386,7 +386,7 @@ pub async fn install_plugin_in_two_networks() -> anyhow::Result<()> {
386386

387387
let result = manager
388388
.coffee()
389-
.add_remote("lightningd", "https://github.com/lightningd/plugins.git")
389+
.add_remote("lightningd", "https://github.com/tareknaser/plugins.git")
390390
.await;
391391
assert!(result.is_err(), "{:?}", result);
392392
// Install summary plugin
@@ -420,7 +420,7 @@ pub async fn test_double_slash() {
420420

421421
// Add lightningd remote repository
422422
let repo_name = "lightningd";
423-
let repo_url = "https://github.com/lightningd/plugins.git";
423+
let repo_url = "https://github.com/tareknaser/plugins.git";
424424
manager
425425
.coffee()
426426
.add_remote(repo_name, repo_url)
@@ -486,7 +486,7 @@ pub async fn test_plugin_installation_path() {
486486
// Add lightningd remote repository
487487
manager
488488
.coffee()
489-
.add_remote("lightningd", "https://github.com/lightningd/plugins.git")
489+
.add_remote("lightningd", "https://github.com/tareknaser/plugins.git")
490490
.await
491491
.unwrap();
492492

tests/src/coffee_plugin_integration_tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub async fn init_cln_with_coffee_install_plugin_test() {
6868
serde_json::json!({
6969
"cmd": "add",
7070
"name": "official",
71-
"url": "https://github.com/lightningd/plugins.git",
71+
"url": "https://github.com/tareknaser/plugins.git",
7272
}),
7373
)
7474
.unwrap();

0 commit comments

Comments
 (0)