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 -->
## [Unreleased]
- moved cli to other crate
- added get_album function
## [0.8.1] - 2022-06-18
- fix tests

4
Cargo.lock generated
View File

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

View File

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

View File

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

View File

@ -101,14 +101,14 @@ impl ImgurClient {
}
/// Get album info from a Imgur
/// ```
/// ```no_run
/// use imgurs::ImgurClient;
///
/// #[tokio::main]
/// async fn main() {
/// 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> {