Skip to content

Commit 3ee08ff

Browse files
committed
chore: commented e2e tests in lib for now fully
1 parent a4c4f88 commit 3ee08ff

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

fplus-lib/src/parsers.rs

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -341,34 +341,34 @@ impl From<IssueValidData> for Datacap {
341341
}
342342
}
343343

344-
#[cfg(test)]
345-
mod tests {
346-
use crate::external_services::github::github_async_new;
344+
// #[cfg(test)]
345+
// mod tests {
346+
// use crate::external_services::github::github_async_new;
347347

348-
static OWNER: &str = "filecoin-project";
349-
static REPO: &str = "filplus-tooling-backend-test";
348+
// static OWNER: &str = "filecoin-project";
349+
// static REPO: &str = "filplus-tooling-backend-test";
350350

351-
#[tokio::test]
352-
async fn test_parser() {
353-
let gh = github_async_new(OWNER.to_string(), REPO.to_string()).await;
354-
let issue = gh.list_issue(706).await.unwrap();
355-
let parsed_ldn = super::ParsedIssue::from_issue_body(&issue.body.unwrap());
356-
dbg!(&parsed_ldn);
351+
// #[tokio::test]
352+
// async fn test_parser() {
353+
// let gh = github_async_new(OWNER.to_string(), REPO.to_string()).await;
354+
// let issue = gh.list_issue(706).await.unwrap();
355+
// let parsed_ldn = super::ParsedIssue::from_issue_body(&issue.body.unwrap());
356+
// dbg!(&parsed_ldn);
357357

358-
assert_eq!(parsed_ldn.version, 1);
359-
assert!(!parsed_ldn.id.is_empty());
358+
// assert_eq!(parsed_ldn.version, 1);
359+
// assert!(!parsed_ldn.id.is_empty());
360360

361-
assert!(!parsed_ldn.client.name.is_empty());
362-
assert!(!parsed_ldn.client.industry.is_empty());
363-
assert!(!parsed_ldn.client.region.is_empty());
364-
assert!(!parsed_ldn.client.website.is_empty());
365-
assert!(!parsed_ldn.client.social_media.is_empty());
366-
assert!(!parsed_ldn.client.social_media_type.is_empty());
367-
assert!(!parsed_ldn.client.role.is_empty());
368-
assert!(!parsed_ldn.project.project_id.is_empty());
369-
assert!(!parsed_ldn.project.history.is_empty());
370-
assert!(!parsed_ldn.project.associated_projects.is_empty());
361+
// assert!(!parsed_ldn.client.name.is_empty());
362+
// assert!(!parsed_ldn.client.industry.is_empty());
363+
// assert!(!parsed_ldn.client.region.is_empty());
364+
// assert!(!parsed_ldn.client.website.is_empty());
365+
// assert!(!parsed_ldn.client.social_media.is_empty());
366+
// assert!(!parsed_ldn.client.social_media_type.is_empty());
367+
// assert!(!parsed_ldn.client.role.is_empty());
368+
// assert!(!parsed_ldn.project.project_id.is_empty());
369+
// assert!(!parsed_ldn.project.history.is_empty());
370+
// assert!(!parsed_ldn.project.associated_projects.is_empty());
371371

372-
assert!(!parsed_ldn.datacap.total_requested_amount.is_empty());
373-
}
374-
}
372+
// assert!(!parsed_ldn.datacap.total_requested_amount.is_empty());
373+
// }
374+
// }

0 commit comments

Comments
 (0)