This commit is contained in:
2022-07-05 14:01:21 +00:00
committed by GitHub
parent 5ee504e7b3
commit e874c8670b
4 changed files with 54 additions and 9 deletions

View File

@@ -136,7 +136,7 @@ pub fn fanbox_api_test(item: TokenStream) -> TokenStream {
async fn #name() {
match std::env::var("FANBOX_COOKIES_FILE") {
Ok(path) => {
let client = FanboxClient::new();
let client = crate::fanbox_api::FanboxClient::new();
if !client.init(Some(path)) {
panic!("Failed to initiailze the client.");
}
@@ -184,7 +184,7 @@ pub fn fanbox_api_quick_test(item: TokenStream) -> TokenStream {
async fn #name() {
match std::env::var("FANBOX_COOKIES_FILE") {
Ok(path) => {
let client = FanboxClient::new();
let client = crate::fanbox_api::FanboxClient::new();
if !client.init(Some(path)) {
panic!("Failed to initiailze the client.");
}