fix(test): disable run get album info test

This commit is contained in:
MedzikUser 2022-09-05 21:11:59 +02:00
parent ecb5855e75
commit 2ac3424338
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
5 changed files with 8 additions and 6 deletions

View File

@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- next-header --> <!-- next-header -->
## [Unreleased] ## [Unreleased]
- moved cli to other crate
- added get_album function
## [0.8.1] - 2022-06-18 ## [0.8.1] - 2022-06-18
- fix tests - fix tests

4
Cargo.lock generated
View File

@ -851,7 +851,7 @@ dependencies = [
[[package]] [[package]]
name = "imgurs" name = "imgurs"
version = "0.8.1" version = "0.9.0"
dependencies = [ dependencies = [
"base64", "base64",
"notify-rust", "notify-rust",
@ -865,7 +865,7 @@ dependencies = [
[[package]] [[package]]
name = "imgurs-cli" name = "imgurs-cli"
version = "0.8.1" version = "0.9.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arboard", "arboard",

View File

@ -4,7 +4,7 @@ resolver = "2"
[package] [package]
name = "imgurs" name = "imgurs"
version = "0.8.1" version = "0.9.0"
description = "API for Imgur" description = "API for Imgur"
license = "BSD-3-Clause" license = "BSD-3-Clause"
authors = ["MedzikUser <nivua1fn@duck.com>"] authors = ["MedzikUser <nivua1fn@duck.com>"]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "imgurs-cli" name = "imgurs-cli"
version = "0.8.1" version = "0.9.0"
description = "CLI for Imgur" description = "CLI for Imgur"
license = "BSD-3-Clause" license = "BSD-3-Clause"
authors = ["MedzikUser <nivua1fn@duck.com>"] authors = ["MedzikUser <nivua1fn@duck.com>"]

View File

@ -101,14 +101,14 @@ impl ImgurClient {
} }
/// Get album info from a Imgur /// Get album info from a Imgur
/// ``` /// ```no_run
/// use imgurs::ImgurClient; /// use imgurs::ImgurClient;
/// ///
/// #[tokio::main] /// #[tokio::main]
/// async fn main() { /// async fn main() {
/// let client = ImgurClient::new("3e3ce0d7ac14d56"); /// let client = ImgurClient::new("3e3ce0d7ac14d56");
/// ///
/// client.album_info("lFaGr1x").await.expect("delete album"); /// client.album_info("id").await.expect("get album info");
/// } /// }
/// ``` /// ```
pub async fn album_info(&self, id: &str) -> Result<AlbumInfo> { pub async fn album_info(&self, id: &str) -> Result<AlbumInfo> {